43 cerr<<
"a or b parameters are less than or equal to 0 in"
44 "dgamma( const dvariable &x, const double a, const double b )\n";
49 cerr<<
"The x parameter is less than or equal to 0 in"
50 "dgamma( const dvariable &x, const double a, const double b )\n";
72 cerr<<
"a or b parameters are less than or equal to 0 in"
73 "dgamma( const dvariable &x, const double a, const double b )\n";
78 cerr<<
"The x parameter is less than or equal to 0 in"
79 "dgamma( const dvariable &x, const double a, const double b )\n";
103 cerr<<
"a or b parameters are less than or equal to 0 in"
104 "dgamma( const dvariable &x, const double a, const double b )\n";
111 cerr<<
"The x("<<i<<
") parameter is less than or equal to 0 in"
112 "dgamma( const dvariable &x, const double a, const double b )\n";
135 if ( a<= 0 || b(i)<=0 )
137 cerr<<
"a or b ("<<i<<
") parameters are less than or equal to 0 in"
138 "dgamma( const dvariable &x, const double a, const double b )\n";
146 cerr<<
"The x ("<<i<<
") parameter is less than or equal to 0 in"
147 "dgamma( const dvariable &x, const double a, const double b )\n";
169 if ( a(i)<= 0 || b(i)<=0 )
171 cerr<<
"a or b ("<<i<<
") parameters are less than or equal to 0 in"
172 "dgamma( const dvariable &x, const double a, const double b )\n";
180 cerr<<
"The x ("<<i<<
") parameter is less than or equal to 0 in"
181 "dgamma( const dvariable &x, const double a, const double b )\n";
203 if ( a(i)<= 0 || b<=0 )
205 cerr<<
"a or b ("<<i<<
") parameters are less than or equal to 0 in"
206 "dgamma( const dvariable &x, const double a, const double b )\n";
214 cerr<<
"The x ("<<i<<
") parameter is less than or equal to 0 in"
215 "dgamma( const dvariable &x, const double a, const double b )\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).
double gammln(double xx)
Log gamma function.
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.
int indexmax() const
Get maximum valid index.
dvariable dgamma(const dvariable &x, const double &a, const double &b)
Library of statistic functions.
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.