ROL
Public Member Functions | Private Types | List of all members
Identity< Real > Class Template Reference
+ Inheritance diagram for Identity< Real >:

Public Member Functions

void apply (V &Hv, const V &v, Real &tol) const
 Apply linear operator. More...
 
void apply (V &Hv, const V &v, Real &tol) const
 Apply 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 applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of 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
 
typedef ROL::Vector< Real > V
 

Detailed Description

template<class Real>
class Identity< Real >

Definition at line 61 of file step/krylov/test_01.cpp.

Member Typedef Documentation

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

Definition at line 62 of file step/krylov/test_01.cpp.

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

Definition at line 61 of file step/krylov/test_03.cpp.

Member Function Documentation

template<class Real>
void Identity< Real >::apply ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 64 of file step/krylov/test_01.cpp.

References ROL::Vector< Real >::set().

template<class Real>
void Identity< Real >::apply ( V Hv,
const V v,
Real &  tol 
) const
inlinevirtual

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 63 of file step/krylov/test_03.cpp.

References ROL::Vector< Real >::set().


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