|
ROL
|
#include <ROL_LinearOperatorSum.hpp>
Inheritance diagram for ROL::LinearOperatorSum< Real >:Public Member Functions | |
| LinearOperatorSum (ROL::Ptr< OP > &A, ROL::Ptr< OP > &B, ROL::Ptr< V > &scratch) | |
| LinearOperatorSum (ROL::Ptr< OP > &A, ROL::Ptr< OP > &B, ROL::Ptr< OP > &C, ROL::Ptr< V > &scratch) | |
| 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_ |
| ROL::Ptr< V > | scratch_ |
Definition at line 25 of file ROL_LinearOperatorSum.hpp.
|
private |
Definition at line 27 of file ROL_LinearOperatorSum.hpp.
|
private |
Definition at line 28 of file ROL_LinearOperatorSum.hpp.
|
private |
Definition at line 30 of file ROL_LinearOperatorSum.hpp.
|
inline |
Definition at line 39 of file ROL_LinearOperatorSum.hpp.
References ROL::LinearOperatorSum< Real >::ops_.
|
inline |
Definition at line 48 of file ROL_LinearOperatorSum.hpp.
References ROL::LinearOperatorSum< 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 61 of file ROL_LinearOperatorSum.hpp.
References ROL::LinearOperatorSum< 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 67 of file ROL_LinearOperatorSum.hpp.
References ROL::LinearOperatorSum< Real >::ops_, ROL::Vector< Real >::plus(), and ROL::LinearOperatorSum< Real >::scratch_.
|
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 75 of file ROL_LinearOperatorSum.hpp.
|
private |
Definition at line 34 of file ROL_LinearOperatorSum.hpp.
Referenced by ROL::LinearOperatorSum< Real >::apply(), ROL::LinearOperatorSum< Real >::LinearOperatorSum(), and ROL::LinearOperatorSum< Real >::update().
|
private |
Definition at line 35 of file ROL_LinearOperatorSum.hpp.
Referenced by ROL::LinearOperatorSum< Real >::apply().
1.8.5