44 #ifndef ROL_DYADICOPERATOR_H 45 #define ROL_DYADICOPERATOR_H 65 const Teuchos::RCP<const V>
x_;
66 const Teuchos::RCP<const V>
y_;
71 const Teuchos::RCP<const V> &y ) : x_(x), y_(y) {}
73 void apply( V &Hv,
const V &v, Real &tol )
const {
80 TEUCHOS_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 .
void apply(V &Hv, const V &v, Real &tol) const
Apply linear operator.
const Teuchos::RCP< const V > x_
Defines the linear algebra or vector space interface.
virtual Real dot(const Vector &x) const =0
Compute where .
Interface to apply a dyadic operator to a vector.
void applyInverse(V &Hv, const V &v, Real &tol) const
Apply inverse of linear operator.
DyadicOperator(const Teuchos::RCP< const V > &x, const Teuchos::RCP< const V > &y)
Provides the interface to apply a linear operator.
const Teuchos::RCP< const V > y_
virtual void set(const Vector &x)
Set where .