10 #ifndef ROL_PQNOBJECTIVE_H
11 #define ROL_PQNOBJECTIVE_H
35 template<
typename Real>
Provides the interface to evaluate objective functions.
Provides the interface to evaluate the quadratic quasi-Newton objective.
void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol) override
Compute gradient.
Defines the linear algebra or vector space interface.
PQNObjective(const Ptr< Secant< Real >> &secant, const Vector< Real > &x, const Vector< Real > &g)
const Ptr< Vector< Real > > x_
Provides interface for and implements limited-memory secant operators.
const Ptr< Secant< Real > > secant_
void setAnchor(const Vector< Real > &x, const Vector< Real > &g)
const Ptr< Vector< Real > > dwa_
const Ptr< Vector< Real > > g_
Real value(const Vector< Real > &x, Real &tol) override
Compute value.
const Ptr< Vector< Real > > pwa_
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply Hessian approximation to vector.