22 return a+(b-a)*1.0/(1.0+tmp);
27 return a+(b-a)*tmp/(1.0+tmp);
58 return (b-a)*tmp/
square(1.0+tmp);
63 return (b-a)*tmp/
square(1.0+tmp);
Base class for dvariable.
double dflogistic(double a, double b, const double &x)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvariable log_der_logistic(double a, double b, const prevariable &x)
Description not yet available.
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
double logistic(double a, double b, const double &x)
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.