44 #ifndef ROL_LINEAR_OBJECTIVE_H 45 #define ROL_LINEAR_OBJECTIVE_H 49 #include "Teuchos_RCP.hpp" 70 const Teuchos::RCP<const Vector<Real> >
cost_;
Provides the interface to evaluate objective functions.
Provides the interface to evaluate linear objective functions.
virtual void zero()
Set to zero vector.
Defines the linear algebra or vector space interface.
virtual Real dot(const Vector &x) const =0
Compute where .
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply Hessian approximation to vector.
Real value(const Vector< Real > &x, Real &tol)
Compute value.
const Teuchos::RCP< const Vector< Real > > cost_
LinearObjective(const Teuchos::RCP< const Vector< Real > > &cost)
virtual void set(const Vector &x)
Set where .
void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol)
Compute gradient.