ROL
Loading...
Searching...
No Matches
ROL::ROL::IdentityOperator< Real > Class Template Reference

#include <ROL_Constraint_SerialSimOpt.hpp>

Inheritance diagram for ROL::ROL::IdentityOperator< Real >:

Private Member Functions

void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply linear operator.
void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.

Additional Inherited Members

Public Member Functions inherited from ROL::ROL::LinearOperator< Real >
virtual ~LinearOperator ()
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update 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.

Detailed Description

template<class Real>
class ROL::ROL::IdentityOperator< Real >

Definition at line 24 of file ROL_Constraint_SerialSimOpt.hpp.

Member Function Documentation

◆ apply()

template<class Real>
void ROL::ROL::IdentityOperator< Real >::apply ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlineprivatevirtual

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::ROL::LinearOperator< Real >.

Definition at line 26 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyInverse()

template<class Real>
void ROL::ROL::IdentityOperator< Real >::applyInverse ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlineprivatevirtual

Apply inverse of linear operator.

This function applies the inverse of 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.

Reimplemented from ROL::ROL::LinearOperator< Real >.

Definition at line 30 of file ROL_Constraint_SerialSimOpt.hpp.


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