10 #ifndef ROL_DYADICOPERATOR_H
11 #define ROL_DYADICOPERATOR_H
31 const ROL::Ptr<const V>
x_;
32 const ROL::Ptr<const V>
y_;
37 const ROL::Ptr<const V> &y ) :
x_(x),
y_(y) {}
39 void apply(
V &Hv,
const V &v, Real &tol )
const {
46 ROL_TEST_FOR_EXCEPTION(
true , std::logic_error,
47 ">>> ERROR (ROL_DyadicOperator, applyInverse): "
58 #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)