ROL
Private Member Functions | List of all members
ROL::NullOperator< Real > Class Template Reference

Multiplication by zero. More...

#include <ROL_NullOperator.hpp>

+ Inheritance diagram for ROL::NullOperator< Real >:

Private Member Functions

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

Additional Inherited Members

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

Detailed Description

template<class Real>
class ROL::NullOperator< Real >

Multiplication by zero.

Definition at line 24 of file ROL_NullOperator.hpp.

Member Function Documentation

template<class Real >
void ROL::NullOperator< 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::LinearOperator< Real >.

Definition at line 26 of file ROL_NullOperator.hpp.

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

template<class Real >
void ROL::NullOperator< 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::LinearOperator< Real >.

Definition at line 30 of file ROL_NullOperator.hpp.


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