|
ROL
|
Interface to apply a dyadic operator to a vector. More...
#include <ROL_DyadicOperator.hpp>
Inheritance diagram for ROL::DyadicOperator< Real >:Public Member Functions | |
| DyadicOperator (const ROL::Ptr< const V > &x, const ROL::Ptr< const V > &y) | |
| void | apply (V &Hv, const V &v, Real &tol) const |
| Apply linear operator. More... | |
| void | applyInverse (V &Hv, const V &v, Real &tol) const |
| Apply inverse of linear operator. More... | |
Public Member Functions inherited from ROL::LinearOperator< Real > | |
| virtual | ~LinearOperator () |
| virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
| Update linear operator. More... | |
| 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 ROL::Vector< Real > | V |
Private Attributes | |
| const ROL::Ptr< const V > | x_ |
| const ROL::Ptr< const V > | y_ |
Interface to apply a dyadic operator to a vector.
Definition at line 25 of file ROL_DyadicOperator.hpp.
|
private |
Definition at line 27 of file ROL_DyadicOperator.hpp.
|
inline |
Definition at line 36 of file ROL_DyadicOperator.hpp.
|
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 39 of file ROL_DyadicOperator.hpp.
References ROL::Vector< Real >::dot(), ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), ROL::DyadicOperator< Real >::x_, and ROL::DyadicOperator< Real >::y_.
|
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 44 of file ROL_DyadicOperator.hpp.
|
private |
Definition at line 31 of file ROL_DyadicOperator.hpp.
Referenced by ROL::DyadicOperator< Real >::apply().
|
private |
Definition at line 32 of file ROL_DyadicOperator.hpp.
Referenced by ROL::DyadicOperator< Real >::apply().
1.8.5