52 output_stream <<
"Estimating row " << i <<
" out of " << nvar
53 <<
" for dependent variable hessian" <<
endl;
82 hess1=(g1-
g2)/(sdelta1-sdelta2)/scale(i);
84 sdelta1=
x(i)+eps*delta;
98 sdelta2=
x(i)-eps*delta;
112 hess2=(g1-
g2)/(sdelta1-sdelta2)/scale(i);
114 hess(i)=(eps2*hess1-hess2) /(eps2-1.);
Vector of double precision numbers.
void fill_seqadd(double, double)
Fills dvector elements with values starting from base and incremented by offset.
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).
static dvariable reset(const dvar_vector &x)
void gradcalc(int nvar, const dvector &g)
prnstream & endl(prnstream &)
Description not yet available.
Description not yet available.
static void xinit(const dvector &x)
Description not yet available.
std::ostream & get_output_stream()
static void set_YES_DERIVATIVES(void)
Enable accumulation of derivative information.
dvector value(const df1_one_vector &v)
virtual void userfunction(void)=0
static int stddev_scale(const dvector &d, const dvector &x)
dmatrix dep_hess_routine(const dvariable &dep)
Description not yet available.
Fundamental data type for reverse mode automatic differentiation.