44 #ifndef ROL_DYADICOPERATOR_H
45 #define ROL_DYADICOPERATOR_H
65 const ROL::Ptr<const V>
x_;
66 const ROL::Ptr<const V>
y_;
71 const ROL::Ptr<const V> &y ) :
x_(x),
y_(y) {}
73 void apply(
V &Hv,
const V &v, Real &tol )
const {
80 ROL_TEST_FOR_EXCEPTION(
true , std::logic_error,
81 ">>> ERROR (ROL_DyadicOperator, applyInverse): "
92 #endif // ROL_NULLOPERATOR_H
virtual void scale(const Real alpha)=0
Compute where .
const ROL::Ptr< const V > y_
void apply(V &Hv, const V &v, Real &tol) const
Apply linear operator.
Defines the linear algebra or vector space interface.
virtual Real dot(const Vector &x) const =0
Compute where .
const ROL::Ptr< const V > x_
void applyInverse(V &Hv, const V &v, Real &tol) const
Apply inverse of linear operator.
Interface to apply a dyadic operator to a vector.
Provides the interface to apply a linear operator.
virtual void set(const Vector &x)
Set where .
DyadicOperator(const ROL::Ptr< const V > &x, const ROL::Ptr< const V > &y)