19 cerr <<
"Index bounds do not macth in"
20 " dmultinom(const dvector& x, const dvar_vector& p)\n";
82 Nsamp=
sum(o(i))/(1.+proc_err*
sum(o(i)));
127 nu(i)(iiage(j))=t1(j);
147 tau2=
w(
int(Ncount/2.));
d3_array elem_prod(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements product of a(i, j, k) * b(i, j, k).
double gammln(double xx)
Log gamma function.
void RETURN_ARRAYS_DECREMENT(void)
Decrements gradient_structure::RETURN_ARRAYS_PTR.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void initialize(void)
Zero initialize allocated dvar_matrix, then saves adjoint function and position data.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d3_array elem_div(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements division of a(i, j, k) / b(i, j, k).
dmatrix sort(const dmatrix &m, int column, int NSTACK)
Description not yet available.
Array of integers(int) with indexes from index_min to indexmax.
dvariable dmultinom(const dvector &x, const dvar_vector &p)
double neff(const dvector &obs, const dvar_vector &pred)
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double var(const dvector &vec)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmax() const
Get maximum valid index.
Description not yet available.
void initialize(void)
Initialze all elements of dvector to zero.
double norm2(const d3_array &a)
Return sum of squared elements in a.
Library of statistic functions.
Class definition of matrix with derivitive information .
void RETURN_ARRAYS_INCREMENT(void)
Increments gradient_structure::RETURN_ARRAYS_PTR.
void initialize(const dvector &ww)
Description not yet available.
dvector value(const df1_one_vector &v)
double square(const double value)
Return square of value; constant object.
Fundamental data type for reverse mode automatic differentiation.
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.