10 #ifndef ROL_ZEROPROXOBJECTIVE_HPP
11 #define ROL_ZEROPROXOBJECTIVE_HPP
17 template<
typename Real>
22 return static_cast<Real
>(0);
virtual void zero()
Set to zero vector.
Defines the linear algebra or vector space interface.
void prox(Vector< Real > &x, Real gamma) override
Real value(const Vector< Real > x, Real &tol) override
void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol) override
Compute gradient.