RVL::LinearRestrictOp< Scalar > Class Template Reference

create linear op by restricting the nonlinear variable in LinOpValOp. More...

#include <op.hh>

Inheritance diagram for RVL::LinearRestrictOp< Scalar >:

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

Public Member Functions

 LinearRestrictOp (LinOpValOp< Scalar > const &_f, Vector< Scalar > const &_x)
 main constructor:
 LinearRestrictOp (LinearRestrictOp< Scalar > const &g)
 ~LinearRestrictOp ()
Space< Scalar > const & getDomain () const
Space< Scalar > const & getRange () const
ostream & write (ostream &str) const

Protected Member Functions

void apply (Vector< Scalar > const &x, Vector< Scalar > &y) const
void applyAdj (Vector< Scalar > const &y, Vector< Scalar > &x) const
Operator< Scalar > * clone () const

Detailed Description

template<typename Scalar>
class RVL::LinearRestrictOp< Scalar >

create linear op by restricting the nonlinear variable in LinOpValOp.

Similar to RestrictOp, but differs in that only two factors permitted, and 0th is always the one restricted - this comes from the structure of LinOpValOp, where 0th is nonlinear component.

Definition at line 1119 of file op.hh.


Constructor & Destructor Documentation

template<typename Scalar>
RVL::LinearRestrictOp< Scalar >::LinearRestrictOp ( LinOpValOp< Scalar > const &  _f,
Vector< Scalar > const &  _x 
)

main constructor:

Parameters:
_f = operaator to be restricted
_x = vector in domain, 0th component to be fixed

Definition at line 1164 of file op.hh.

template<typename Scalar>
RVL::LinearRestrictOp< Scalar >::LinearRestrictOp ( LinearRestrictOp< Scalar > const &  g  ) 

Definition at line 1176 of file op.hh.

template<typename Scalar>
RVL::LinearRestrictOp< Scalar >::~LinearRestrictOp (  ) 

Definition at line 1178 of file op.hh.


Member Function Documentation

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

Implements RVL::Operator< Scalar >.

Definition at line 1132 of file op.hh.

template<typename Scalar>
void RVL::LinearRestrictOp< Scalar >::applyAdj ( Vector< Scalar > const &  y,
Vector< Scalar > &  x 
) const [protected, virtual]

Implements RVL::LinearOp< Scalar >.

Definition at line 1143 of file op.hh.

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

Implements RVL::Operator< Scalar >.

Definition at line 1154 of file op.hh.

template<typename Scalar>
Space<Scalar> const& RVL::LinearRestrictOp< Scalar >::getDomain (  )  const [virtual]

Implements RVL::Operator< Scalar >.

Definition at line 1180 of file op.hh.

template<typename Scalar>
Space<Scalar> const& RVL::LinearRestrictOp< Scalar >::getRange (  )  const [virtual]

Implements RVL::Operator< Scalar >.

Definition at line 1181 of file op.hh.

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

Implements RVL::Writeable.

Definition at line 1183 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