RVL::LinearOpWithInverse< Scalar > Class Template Reference

Linear operator with inverse mapping supplied as a class method. More...

#include <linop_base.hh>

Inheritance diagram for RVL::LinearOpWithInverse< Scalar >:

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

Public Member Functions

 LinearOpWithInverse ()
 ~LinearOpWithInverse ()
void applyInvOp (Vector< Scalar > const &x, Vector< Scalar > &y) const
 This function assigns to y the value $ A^{-1} * x$, and is the same as solving the system $ A * y = x $ for y.
void applyInvAdjOp (Vector< Scalar > const &x, Vector< Scalar > &y) const
 This function assigns to y the value $ A^{-T} * x$, and is the same as solving the system $ A^{T} * y = x $ for y.

Detailed Description

template<class Scalar>
class RVL::LinearOpWithInverse< Scalar >

Linear operator with inverse mapping supplied as a class method.

Definition at line 487 of file linop_base.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::LinearOpWithInverse< Scalar >::LinearOpWithInverse (  ) 

Definition at line 489 of file linop_base.hh.

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

Definition at line 490 of file linop_base.hh.


Member Function Documentation

template<class Scalar>
void RVL::LinearOpWithInverse< Scalar >::applyInvOp ( Vector< Scalar > const &  x,
Vector< Scalar > &  y 
) const

This function assigns to y the value $ A^{-1} * x$, and is the same as solving the system $ A * y = x $ for y.

Output vector y may not be aliased with input vector x. Applies standard sanity test, then delegates to protected apply method.

Definition at line 498 of file linop_base.hh.

References RVL::Invertible< Scalar >::applyInv(), RVL::Operator< Scalar >::getDomain(), RVL::Operator< Scalar >::getRange(), RVL::Vector< Scalar >::getSpace(), and RVL::Writeable::write().

template<class Scalar>
void RVL::LinearOpWithInverse< Scalar >::applyInvAdjOp ( Vector< Scalar > const &  x,
Vector< Scalar > &  y 
) const

This function assigns to y the value $ A^{-T} * x$, and is the same as solving the system $ A^{T} * y = x $ for y.

Output vector y may not be aliased with input vector x. Applies standard sanity test, then delegates to protected applyAdj method.

Definition at line 558 of file linop_base.hh.

References RVL::Invertible< Scalar >::applyInvAdj(), RVL::Operator< Scalar >::getDomain(), RVL::Operator< Scalar >::getRange(), RVL::Vector< Scalar >::getSpace(), and RVL::Writeable::write().


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