44#ifndef ROL_AFFINE_TRANSFORM_CONSTRAINT_DEF_H
45#define ROL_AFFINE_TRANSFORM_CONSTRAINT_DEF_H
49template<
typename Real>
61template<
typename Real>
66 primal_ = acon->createRangeSpaceVector();
67 Av_ = acon->createRangeSpaceVector();
72template<
typename Real>
80 dual_ = b->dual().clone();
84template<
typename Real>
91template<
typename Real>
93 storage_->constraintUpdate(
true);
98template<
typename Real>
100 con_->value(c,*transform(x),tol);
103template<
typename Real>
105 acon_->applyJacobian(*Av_,v,x,tol);
106 con_->applyJacobian(jv,*Av_,*transform(x),tol);
109template<
typename Real>
111 con_->applyAdjointJacobian(*dual_,v,*transform(x),tol);
112 acon_->applyAdjointJacobian(ajv,*dual_,x,tol);
115template<
typename Real>
117 acon_->applyJacobian(*Av_,v,x,tol);
118 con_->applyAdjointHessian(*dual_,u,*Av_,*transform(x),tol);
119 acon_->applyAdjointJacobian(ahuv,*dual_,x,tol);
122template<
typename Real>
127 acon_->value(*primal_,x,tol);
const Ptr< Constraint_SimOpt< Real > > con_
Defines the general constraint operator interface.
Defines the general affine constraint with the form .
Provides the interface to apply a linear operator.
void constraintUpdate(bool flag=true)
Equality constraint update for VectorController storage.
Defines the linear algebra or vector space interface.
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
virtual const Vector & dual() const
Return dual representation of , for example, the result of applying a Riesz map, or change of basis,...
Real ROL_EPSILON(void)
Platform-dependent machine epsilon.