ROL
ROL::LinearOperatorProduct< Real > Class Template Reference

Provides the interface to the sequential application of linear operators. More...

#include <ROL_LinearOperatorProduct.hpp>

Inheritance diagram for ROL::LinearOperatorProduct< Real >:

Public Member Functions

 LinearOperatorSum (ROL::Ptr< OP > &A, ROL::Ptr< OP > &B)
 LinearOperatorSum (ROL::Ptr< OP > &A, ROL::Ptr< OP > &B, ROL::Ptr< OP > &C)
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
virtual void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
virtual void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
Public Member Functions inherited from ROL::ROL::LinearOperator< Real >
virtual ~LinearOperator ()
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update linear operator.
virtual void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const =0
 Apply linear operator.
virtual void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
virtual void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator.
virtual void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator.

Private Types

typedef Vector< Real > V
typedef LinearOperator< Real > OP
typedef std::vector< ROL::Ptr< OP > >::size_type size_type

Private Attributes

ROL::Ptr< std::vector< ROL::Ptr< OP > > > ops_

Detailed Description

template<class Real>
class ROL::LinearOperatorProduct< Real >

Provides the interface to the sequential application of linear operators.

autotoc_md35

Definition at line 25 of file ROL_LinearOperatorProduct.hpp.

Member Typedef Documentation

◆ V

template<class Real>
typedef Vector<Real> ROL::LinearOperatorProduct< Real >::V
private

Definition at line 27 of file ROL_LinearOperatorProduct.hpp.

◆ OP

template<class Real>
typedef LinearOperator<Real> ROL::LinearOperatorProduct< Real >::OP
private

Definition at line 28 of file ROL_LinearOperatorProduct.hpp.

◆ size_type

template<class Real>
typedef std::vector<ROL::Ptr<OP>>::size_type ROL::LinearOperatorProduct< Real >::size_type
private

Definition at line 30 of file ROL_LinearOperatorProduct.hpp.

Member Function Documentation

◆ LinearOperatorSum() [1/2]

template<class Real>
ROL::LinearOperatorProduct< Real >::LinearOperatorSum ( ROL::Ptr< OP > & A,
ROL::Ptr< OP > & B )
inline

Definition at line 38 of file ROL_LinearOperatorProduct.hpp.

References ops_.

◆ LinearOperatorSum() [2/2]

template<class Real>
ROL::LinearOperatorProduct< Real >::LinearOperatorSum ( ROL::Ptr< OP > & A,
ROL::Ptr< OP > & B,
ROL::Ptr< OP > & C )
inline

Definition at line 45 of file ROL_LinearOperatorProduct.hpp.

References ops_.

◆ update()

template<class Real>
virtual void ROL::LinearOperatorProduct< Real >::update ( const Vector< Real > & x,
bool flag = true,
int iter = -1 )
inlinevirtual

Definition at line 54 of file ROL_LinearOperatorProduct.hpp.

References ops_.

◆ apply()

template<class Real>
virtual void ROL::LinearOperatorProduct< Real >::apply ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlinevirtual

Definition at line 60 of file ROL_LinearOperatorProduct.hpp.

References ops_, and ROL::Vector< Real >::set().

◆ applyInverse()

template<class Real>
virtual void ROL::LinearOperatorProduct< Real >::applyInverse ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlinevirtual

Definition at line 67 of file ROL_LinearOperatorProduct.hpp.

References ops_, and ROL::Vector< Real >::set().

Member Data Documentation

◆ ops_

template<class Real>
ROL::Ptr<std::vector<ROL::Ptr<OP> > > ROL::LinearOperatorProduct< Real >::ops_
private

The documentation for this class was generated from the following file: