ROL
|
#include <ROL_LinearOperatorProduct.hpp>
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) |
Update linear operator. More... | |
virtual void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply linear operator. More... | |
virtual void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of linear operator. More... | |
Public Member Functions inherited from ROL::LinearOperator< Real > | |
virtual | ~LinearOperator () |
virtual void | applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of linear operator. More... | |
virtual void | applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of the inverse linear operator. More... | |
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_ |
Definition at line 25 of file ROL_LinearOperatorProduct.hpp.
|
private |
Definition at line 27 of file ROL_LinearOperatorProduct.hpp.
|
private |
Definition at line 28 of file ROL_LinearOperatorProduct.hpp.
|
private |
Definition at line 30 of file ROL_LinearOperatorProduct.hpp.
|
inline |
Definition at line 38 of file ROL_LinearOperatorProduct.hpp.
References ROL::LinearOperatorProduct< Real >::ops_.
|
inline |
Definition at line 45 of file ROL_LinearOperatorProduct.hpp.
References ROL::LinearOperatorProduct< Real >::ops_.
|
inlinevirtual |
Update linear operator.
This function updates the linear operator at new iterations.
[in] | x | is the new iterate. |
[in] | flag | is true if the iterate has changed. |
[in] | iter | is the outer algorithm iterations count. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 54 of file ROL_LinearOperatorProduct.hpp.
References ROL::LinearOperatorProduct< Real >::ops_.
|
inlinevirtual |
Apply linear operator.
This function applies the linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Implements ROL::LinearOperator< Real >.
Definition at line 60 of file ROL_LinearOperatorProduct.hpp.
References ROL::LinearOperatorProduct< Real >::ops_, and ROL::Vector< Real >::set().
|
inlinevirtual |
Apply inverse of linear operator.
This function applies the inverse of linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 67 of file ROL_LinearOperatorProduct.hpp.
References ROL::LinearOperatorProduct< Real >::ops_, and ROL::Vector< Real >::set().
|
private |