44#ifndef ROL_LINEARCONSTRAINT_H
45#define ROL_LINEARCONSTRAINT_H
59template<
typename Real>
62 const Ptr<const LinearOperator<Real>>
A_;
63 const Ptr<const Vector<Real>>
b_;
Defines the general constraint operator interface.
Defines the general affine constraint with the form .
Ptr< Vector< Real > > createRangeSpaceVector(void) const
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
const Ptr< const LinearOperator< Real > > A_
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the derivative of the adjoint of the constraint Jacobian at to vector in direction ,...
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the adjoint of the the constraint Jacobian at , , to vector .
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
const Ptr< const Vector< Real > > b_
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
Provides the interface to apply a linear operator.
Defines the linear algebra or vector space interface.