10 #ifndef ROL_AFFINE_HYPERPLANE_EQUALITY_CONSTRAINT_H
11 #define ROL_AFFINE_HYPERPLANE_EQUALITY_CONSTRAINT_H
45 template<
typename Real>
48 const Ptr<const Vector<Real>>
a_;
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
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 ...
Defines the linear algebra or vector space interface.
This equality constraint defines an affine hyperplane.
const Ptr< const Vector< Real > > a_
Dual vector defining hyperplane.
const Real b_
Affine shift.
ScalarLinearConstraint(const Ptr< const Vector< Real >> &a, const Real b)
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 .
std::vector< Real > solveAugmentedSystem(Vector< Real > &v1, Vector< Real > &v2, const Vector< Real > &b1, const Vector< Real > &b2, const Vector< Real > &x, Real &tol) override
Approximately solves the augmented system where , , , , is an identity or Riesz operator...
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
Defines the general constraint operator interface.