ROL
|
Public Member Functions | |
DyadicOperator (const Teuchos::RCP< const V > &x, const Teuchos::RCP< const V > &y) | |
void | apply (V &Hv, const V &v, Real &tol) const |
Apply linear operator. More... | |
![]() | |
virtual | ~LinearOperator () |
virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
Update linear operator. More... | |
virtual void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of linear operator. More... | |
Private Types | |
typedef ROL::Vector< Real > | V |
Private Attributes | |
const Teuchos::RCP< const V > | x_ |
const Teuchos::RCP< const V > | y_ |
Definition at line 86 of file function/test_03.cpp.
|
private |
Definition at line 88 of file function/test_03.cpp.
|
inline |
Definition at line 97 of file function/test_03.cpp.
|
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 100 of file function/test_03.cpp.
References ROL::Vector< Real >::dot(), ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), DyadicOperator< Real >::x_, and DyadicOperator< Real >::y_.
|
private |
Definition at line 92 of file function/test_03.cpp.
Referenced by DyadicOperator< Real >::apply().
|
private |
Definition at line 93 of file function/test_03.cpp.
Referenced by DyadicOperator< Real >::apply().