55 dvector v=local_minimization_routine(s,H,grad,lambda);
58 output_stream <<
endl << fbest-f2 <<
endl;
86 cerr <<
"Error cannot find better value to try and get a"
87 " positive definite hessian" <<
endl;
111 long fmsave = fmc1.maxfn;
115 while (fmc1.ireturn>=0)
128 f=lambda*gradv+0.5*lambda*lambda*vHv+
square(ns2-1.0);
135 g=lambda*grad/ns -lambda * gradv*s/ns2
136 + lambda * lambda * z/ns
137 - lambda * lambda * vHv*s/ns2 + 4.0*(ns2-1.0)*s;
142 output_stream <<
" inner maxg = " << std::scientific << setprecision(10) << fmc1.gmax;
Description not yet available.
Vector of double precision numbers.
double norm(const d3_array &a)
Return computed norm value of a.
dvector local_minimization_routine(dvector &s, dmatrix &Hess, dvector &grad, double lambda)
Description not yet available.
prnstream & endl(prnstream &)
dvector local_minimization(dvector &s, dmatrix &Hess, dvector &grad, double lambda)
Description not yet available.
Description not yet available.
Description not yet available.
void initialize(void)
Initialze all elements of dvector to zero.
std::ostream & get_output_stream()
Description not yet available.
double evaluate_function_no_derivatives(const dvector &x, function_minimizer *pfmin)
Description not yet available.
double square(const double value)
Return square of value; constant object.