RVL::IdentityOp< Scalar > Class Template Reference

IdentityOp is a concrete class implementing identity operator. More...

#include <op.hh>

Inheritance diagram for RVL::IdentityOp< Scalar >:

RVL::Operator< Scalar > RVL::Writeable List of all members.

Public Member Functions

 IdentityOp (const Space< Scalar > &sp)
 IdentityOp (const IdentityOp< Scalar > &c)
 ~IdentityOp ()
const Space< Scalar > & getDomain () const
 access to domain and range
const Space< Scalar > & getRange () const
ostream & write (ostream &str) const

Protected Member Functions

void apply (const Vector< Scalar > &x, Vector< Scalar > &val) const
void applyDeriv (const Vector< Scalar > &x, const Vector< Scalar > &dx, Vector< Scalar > &dy) const
void applyAdjDeriv (const Vector< Scalar > &x, const Vector< Scalar > &dy, Vector< Scalar > &dx) const
Operator< Scalar > * clone () const

Detailed Description

template<class Scalar>
class RVL::IdentityOp< Scalar >

IdentityOp is a concrete class implementing identity operator.

Definition at line 3522 of file op.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::IdentityOp< Scalar >::IdentityOp ( const Space< Scalar > &  sp  ) 

Definition at line 3581 of file op.hh.

template<class Scalar>
RVL::IdentityOp< Scalar >::IdentityOp ( const IdentityOp< Scalar > &  c  ) 

Definition at line 3584 of file op.hh.

template<class Scalar>
RVL::IdentityOp< Scalar >::~IdentityOp (  ) 

Definition at line 3587 of file op.hh.


Member Function Documentation

template<class Scalar>
void RVL::IdentityOp< Scalar >::apply ( const Vector< Scalar > &  x,
Vector< Scalar > &  val 
) const [protected, virtual]

Implements RVL::Operator< Scalar >.

Definition at line 3533 of file op.hh.

References RVL::Vector< Scalar >::copy(), and RVL::SpaceTest().

template<class Scalar>
void RVL::IdentityOp< Scalar >::applyDeriv ( const Vector< Scalar > &  x,
const Vector< Scalar > &  dx,
Vector< Scalar > &  dy 
) const [protected, virtual]

Implements RVL::Operator< Scalar >.

Definition at line 3547 of file op.hh.

References RVL::Vector< Scalar >::copy(), and RVL::SpaceTest().

template<class Scalar>
void RVL::IdentityOp< Scalar >::applyAdjDeriv ( const Vector< Scalar > &  x,
const Vector< Scalar > &  dy,
Vector< Scalar > &  dx 
) const [protected, virtual]

Implements RVL::Operator< Scalar >.

Definition at line 3562 of file op.hh.

References RVL::Vector< Scalar >::copy(), and RVL::SpaceTest().

template<class Scalar>
Operator<Scalar>* RVL::IdentityOp< Scalar >::clone (  )  const [protected, virtual]

Implements RVL::Operator< Scalar >.

Definition at line 3577 of file op.hh.

template<class Scalar>
const Space<Scalar>& RVL::IdentityOp< Scalar >::getDomain (  )  const [virtual]

access to domain and range

Implements RVL::Operator< Scalar >.

Definition at line 3590 of file op.hh.

template<class Scalar>
const Space<Scalar>& RVL::IdentityOp< Scalar >::getRange (  )  const [virtual]

Implements RVL::Operator< Scalar >.

Definition at line 3594 of file op.hh.

template<class Scalar>
ostream& RVL::IdentityOp< Scalar >::write ( ostream &  str  )  const [virtual]

Implements RVL::Writeable.

Definition at line 3598 of file op.hh.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RVL by  doxygen 1.4.7