10 #ifndef ROL_DYKSTRAPROJECTION_H
11 #define ROL_DYKSTRAPROJECTION_H
14 #include "ROL_ParameterList.hpp"
18 template<
typename Real>
Real residual_1d(const Vector< Real > &x) const
void project(Vector< Real > &x, std::ostream &stream=std::cout) override
void residual_nd(Vector< Real > &r, const Vector< Real > &y) const
Defines the linear algebra or vector space interface.
Ptr< Vector< Real > > tmp_
void project_con(Vector< Real > &x, const Vector< Real > &y) const
void project_bnd(Vector< Real > &x, const Vector< Real > &y) const
Provides the interface to apply upper and lower bound constraints.
DykstraProjection(const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res)
void project_Dykstra(Vector< Real > &x, std::ostream &stream=std::cout) const
Defines the general constraint operator interface.