41 cerr<<
"Standard deviation or the mean is less than or equal to zero in "
42 "dlnorm( const dvariable& x, const double& mu, const double& std )\n";
63 cerr<<
"Standard deviation or the mean is less than or equal to zero in "
64 "dlnorm( const dvariable& x, const dvariable& mu, const double& std )\n";
85 cerr<<
"Standard deviation or the mean is less than or equal to zero in "
86 "dlnorm( const dvariable& x, const dvariable& mu, const dvariable& std )\n";
105 if( std<=0 ||
min(x)<=0 )
107 cerr<<
"Standard deviation or the mix(x) is less than or equal to zero in "
108 "dlnorm( const dvar_vector& x, const double& mu, const double& std )\n";
133 if( std<=0 ||
min(x)<=0 )
135 cerr<<
"Standard deviation or the mix(x) is less than or equal to zero in "
136 "dlnorm( const dvar_vector& x, const dvariable& mu, const double& std )\n";
161 if( std<=0 ||
min(x)<=0 )
163 cerr<<
"Standard deviation or the mix(x) is less than or equal to zero in "
164 "dlnorm( const dvar_vector& x, const dvariable& mu, const dvariable& std )\n";
Base class for dvariable.
void RETURN_ARRAYS_DECREMENT(void)
Decrements gradient_structure::RETURN_ARRAYS_PTR.
dvariable dlnorm(const prevariable &x, const double &mu, const double &std)
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double norm2(const d3_array &a)
Return sum of squared elements in a.
Library of statistic functions.
unsigned int size_count(const dvector &x)
Returns total size of elements in vector x.
void RETURN_ARRAYS_INCREMENT(void)
Increments gradient_structure::RETURN_ARRAYS_PTR.
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.