Go to the documentation of this file.
44 #ifndef ROL_OBJECTIVE_FSSOLVER_H
45 #define ROL_OBJECTIVE_FSSOLVER_H
56 return static_cast<Real>(0.5)*u.
dot(u.
dual());
void gradient(Vector< Real > &g, const Vector< Real > &u, Real &tol)
Compute gradient.
virtual Real dot(const Vector &x) const =0
Compute where .
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, Real &tol)
Apply Hessian approximation to vector.
void setParameter(const std::vector< Real > ¶m)
Defines the linear algebra or vector space interface.
virtual void set(const Vector &x)
Set where .
virtual const Vector & dual() const
Return dual representation of , for example, the result of applying a Riesz map, or change of basis,...
Real value(const Vector< Real > &u, Real &tol)
Compute value.
Provides the interface to evaluate objective functions.