ROL
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.
void apply (V &Hv, const V &v, Real &tol) const
 Apply linear operator.
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.
virtual void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
virtual void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator.
virtual void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator.

Private Types

typedef ROL::Vector< Real > V
typedef ROL::Vector< Real > V

Detailed Description

template<class Real>
class Identity< Real >

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

Member Typedef Documentation

◆ V [1/2]

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

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

◆ V [2/2]

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

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

Member Function Documentation

◆ apply() [1/2]

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 30 of file step/krylov/test_01.cpp.

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

◆ apply() [2/2]

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 29 of file step/krylov/test_03.cpp.

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


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