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