RVL::ShiftOperator< Scalar > Class Template Reference

Given an input vector d, this operator implements $F(x) = x-d$. More...

#include <ls.hh>

Inheritance diagram for RVL::ShiftOperator< Scalar >:

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

Public Member Functions

 ShiftOperator (const Vector< Scalar > &dd)
 Usual constructor; just needs a pointer to the linear operator.
 ShiftOperator (const ShiftOperator< Scalar > &a)
 ~ShiftOperator ()
const Space< Scalar > & getDomain () const
 access to domain, range
const Space< Scalar > & getRange () const
ostream & write (ostream &str) const

Protected Member Functions

void apply (const Vector< Scalar > &x, Vector< Scalar > &y) 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
virtual Operator< Scalar > * clone () const

Detailed Description

template<class Scalar>
class RVL::ShiftOperator< Scalar >

Given an input vector d, this operator implements $F(x) = x-d$.

Definition at line 52 of file ls.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::ShiftOperator< Scalar >::ShiftOperator ( const Vector< Scalar > &  dd  ) 

Usual constructor; just needs a pointer to the linear operator.

Definition at line 105 of file ls.hh.

template<class Scalar>
RVL::ShiftOperator< Scalar >::ShiftOperator ( const ShiftOperator< Scalar > &  a  ) 

Definition at line 106 of file ls.hh.

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

Definition at line 107 of file ls.hh.


Member Function Documentation

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

Implements RVL::Operator< Scalar >.

Definition at line 62 of file ls.hh.

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

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

Implements RVL::Operator< Scalar >.

Definition at line 74 of file ls.hh.

References RVL::Vector< Scalar >::copy().

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

Implements RVL::Operator< Scalar >.

Definition at line 86 of file ls.hh.

References RVL::Vector< Scalar >::copy().

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

Implements RVL::Operator< Scalar >.

Definition at line 99 of file ls.hh.

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

access to domain, range

Implements RVL::Operator< Scalar >.

Definition at line 110 of file ls.hh.

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

Implements RVL::Operator< Scalar >.

Definition at line 111 of file ls.hh.

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

Implements RVL::Writeable.

Definition at line 113 of file ls.hh.


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