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

Public Member Functions

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...
 

Private Types

typedef ROL::Vector< Real > V
 

Detailed Description

template<class Real>
class NullOperator< Real >

Definition at line 109 of file function/test_03.cpp.

Member Typedef Documentation

◆ V

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

Definition at line 111 of file function/test_03.cpp.

Member Function Documentation

◆ apply()

template<class Real >
void NullOperator< 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 115 of file function/test_03.cpp.

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


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