42 #ifndef MERIT_FUNC_CALC_1D_QUADRATIC_H
43 #define MERIT_FUNC_CALC_1D_QUADRATIC_H
48 namespace ConstrainedOptPack {
101 std::ostream&
out,
const std::string& leading_str )
const;
119 #endif // MERIT_FUNC_CALC_1D_QUADRATIC_H
AbstractLinAlgPack::size_type size_type
value_type operator()(value_type alpha) const
Returns phi( x = sum( alpha^k * d[k], k = 0...p-1 ) ).
Abstracts a 1D merit function {abstract}.
const MeritFuncCalc & phi_
MeritFuncCalc1DQuadratic & operator=(const MeritFuncCalc1DQuadratic &)
value_type deriv() const
Returns phi.deriv()
const_VectorWithOp_ptr d_[3]
Adds the ability to compute phi(alpha) at alpha of a given set of vectors.
void print_merit_func(std::ostream &out, const std::string &leading_str) const
Calls phi->print_merit_func().
Abstract iterface for n-D merit functions {abstract}.
const Vector * const_VectorWithOp_ptr
AbstractLinAlgPack::value_type value_type
MeritFuncCalc1DQuadratic()