42 #ifndef MERIT_FUNC_CALC_1D_QUADRATIC_H
43 #define MERIT_FUNC_CALC_1D_QUADRATIC_H
45 #include "ConstrainedOptPack_MeritFuncCalc1D.hpp"
46 #include "ConstrainedOptPack_MeritFuncCalc.hpp"
48 namespace ConstrainedOptPack {
97 value_type
deriv()
const;
101 std::ostream& out,
const std::string& leading_str )
const;
119 #endif // MERIT_FUNC_CALC_1D_QUADRATIC_H
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}.
value_type deriv() const
Returns phi.deriv()
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