18 cerr <<
"Error opening file " << (
char*) tmpstring
19 <<
" in unrestricted_hess_determinant" <<
endl;
24 cout <<
"nvar =" << nvar <<
endl;
29 cout <<
"the number of independent variables is wrong in admodel.hes"
37 cerr <<
"Error reading the hessian from file admodel.hes" <<
endl;
40 for (
int i=1;i<=nvar;i++)
44 double tmp=(h(i,j)+h(j,i))/2.;
51 double lndet=
ln_det(h,sgn);
54 cerr <<
"sgn = " << sgn <<
endl;
55 cerr <<
"Error Hessian is not positive definite" <<
endl;
static adstring adprogram_name
ivector sgn(const dvector &v)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
prnstream & endl(prnstream &)
Description not yet available.
Description not yet available.
double unrestricted_hess_determinant(void)
double ln_det(const dmatrix &m1, int &sgn)
Compute log determinant of a constant matrix.
Description not yet available.
static unsigned int wd_flag