51 cerr<<
"Standard deviation is less than or equal to zero in "
52 "dnorm(const dvariable& x, const double& mu, const double& std)\n";
64 cerr<<
"Standard deviation is less than or equal to zero in "
65 "dnorm(const dvariable& x, const double& mu, const double& std)\n";
69 if(!bLog) tmp =
mfexp(-tmp);
80 cerr<<
"Standard deviation is less than or equal to zero in "
81 "dnorm(const dvariable& x, const double& mu, const double& std)\n";
86 if(!bLog) tmp =
mfexp(-tmp);
95 cerr<<
"Standard deviation is less than or equal to zero in "
96 "dnorm(const df1b2variable& x, const double& mu, const double& std)\n";
110 cerr<<
"Standard deviation is less than or equal to zero in "
111 "dnorm(const df1b2variable& x, const double& mu, const double& std)\n";
116 if(!bLog) tmp =
mfexp(-tmp);
135 cerr<<
"Standard deviation is less than or equal to zero in "
136 "dnorm( const dvar_vector& x, const double& mu, const double& std )\n";
153 cerr<<
"Standard deviation is less than or equal to zero in "
154 "dnorm( const dvar_vector& x, const double& mu, const double& std )\n";
162 if(!bLog) tmp =
mfexp(-tmp);
172 cerr<<
"Standard deviation is less than or equal to zero in "
173 "dnorm( const dvar_vector& x, const double& mu, const double& std )\n";
181 if(!bLog) tmp =
mfexp(-tmp);
200 cerr<<
"Standard deviation is less than or equal to zero in "
201 "dnorm( const dvar_vector& x, const double& mu, const double& std )\n";
264 cerr<<
"Standard deviation is less than or equal to zero in "
265 "dnorm( const dvar_vector& residual, const dvariable& std )\n";
290 cerr<<
"Standard deviation is less than or equal to zero in "
291 "dnorm( const dvar_vector& residual, const double& std )\n";
316 cerr<<
"Standard deviation is less than or equal to zero in "
317 "dnorm( const dvar_vector& residual, const dvector& std )\n";
322 cerr<<
"Indices do not match in "
323 "dnorm( const dvar_vector& residual, const dvector& std )\n";
369 return 0.5*n*
log(SS);
387 cerr<<
"Standard deviation is less than or equal to zero in "
388 "dnorm( const dvar_vector& residual, const dvar_vector std )\n";
393 cerr<<
"Indices do not match in "
394 "dnorm( const dvar_vector& residual, const dvector& std )\n";
Base class for dvariable.
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).
Description not yet available.
void RETURN_ARRAYS_DECREMENT(void)
Decrements gradient_structure::RETURN_ARRAYS_PTR.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
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).
Description not yet available.
d3_array mfexp(const d3_array &m)
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.
Description not yet available.
double norm2(const d3_array &a)
Return sum of squared elements in a.
Library of statistic functions.
Class definition of matrix with derivitive information .
dvariable dnorm(const prevariable &x, const double &mu, const double &std)
unsigned int size_count(const dvector &x)
Returns total size of elements in vector x.
Description not yet available.
void RETURN_ARRAYS_INCREMENT(void)
Increments gradient_structure::RETURN_ARRAYS_PTR.
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.