17#if defined(DEBUG) || defined(WARNINGMSG)
29double similarity(
const LAVector&,
const LASymMatrix&);
49 std::cout <<
"dx = " << dx << std::endl;
50 std::cout <<
"dg = " << dg << std::endl;
51 std::cout<<
"delgam= "<<delgam<<
" gvg= "<<gvg<<std::endl;
56 MN_INFO_MSG(
"DavidonErrorUpdator: delgam = 0 : cannot update - return same matrix ");
61 if (delgam < 0)
MN_INFO_MSG(
"DavidonErrorUpdator: delgam < 0 : first derivatives increasing along search line");
67 MN_INFO_MSG(
"DavidonErrorUpdator: gvg <= 0 : cannot update - return same matrix ");
virtual MinimumError Update(const MinimumState &, const MinimumParameters &, const FunctionGradient &) const
const MnAlgebraicVector & Vec() const
Class describing a symmetric matrix of size n.
MinimumError keeps the inv.
const MnAlgebraicVector & Vec() const
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > Outer_product(const ABObj< vec, LAVector, double > &obj)
LAPACK Algebra function specialize the Outer_product function for LAVector;.
LAVector MnAlgebraicVector
double sum_of_elements(const LASymMatrix &)
double similarity(const LAVector &, const LASymMatrix &)
double inner_product(const LAVector &, const LAVector &)