17 #if defined(DEBUG) || defined(WARNINGMSG) 29 double 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 ");
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
double sum_of_elements(const LASymMatrix &)
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;.
Class describing a symmetric matrix of size n.
double inner_product(const LAVector &, const LAVector &)
const FunctionGradient & Gradient() const
const MinimumError & Error() const
const MnAlgebraicVector & Vec() const
LAVector MnAlgebraicVector
const MnAlgebraicVector & Vec() const
static double p1(double t, double a, double b)
virtual MinimumError Update(const MinimumState &, const MinimumParameters &, const FunctionGradient &) const
const MnAlgebraicSymMatrix & InvHessian() const
double similarity(const LAVector &, const LASymMatrix &)
MinimumError keeps the inv.
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
const MnAlgebraicVector & Vec() const