10 #ifndef ROL_LINEAROPERATOR_FROM_EQUALITYCONSTRAINT_H
11 #define ROL_LINEAROPERATOR_FROM_EQUALITYCONSTRAINT_H
31 const ROL::Ptr<const Vector<Real> >
x_;
32 ROL::Ptr<Constraint<Real> >
con_;
45 con_->applyJacobian(Hv,v,*
x_,tol);
LinearOperatorFromConstraint(const ROL::Ptr< const Vector< Real > > &x, const ROL::Ptr< Constraint< Real > > &con)
Defines the linear algebra or vector space interface.
const ROL::Ptr< const Vector< Real > > x_
A simple wrapper which allows application of constraint Jacobians through the LinearOperator interfac...
virtual void apply(Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
Apply linear operator.
virtual ~LinearOperatorFromConstraint()
Provides the interface to apply a linear operator.
virtual void applyInverse(Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
Apply inverse of linear operator.
virtual void set(const Vector &x)
Set where .
ROL::Ptr< Constraint< Real > > con_
Defines the general constraint operator interface.