19 return 1.0/(1.0+
exp(-x));
34 return log(x/(1.0-x));
Base class for dvariable.
double inv_cumd_logistic(const double &x)
Description not yet available.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
double cumd_logistic(const double &x)
Description not yet available.
dvector value(const df1_one_vector &v)
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.