RVL::CJacobian< T, df > Class Template Reference

FO class encapsulating eval of df. More...

#include <rnop.hh>

Inheritance diagram for RVL::CJacobian< T, df >:

RVL::UnaryLocalFunctionObjectConstEval< T > RVL::FunctionObjectConstEval RVL::UnaryLocalConstEval< T > RVL::Writeable RVL::LocalConstEval< T > List of all members.

Public Member Functions

 CJacobian (GenMat< T > &_a)
void operator() (LocalDataContainer< T > const &x)
string getName () const

Detailed Description

template<typename T, int df>
class RVL::CJacobian< T, df >

FO class encapsulating eval of df.

Typical "reaper" design: since the thing you want to modify is not a Vector (it's an instance of the the matrix LinearOp class GenMat), but it does store the data you want to modify in a LocalDataContainer, store a reference to this thing on construction. The operator() eval method accepts the input LDC as const arg, and does its whatever is required to modify your internally stored GenMat. Note that the argument(s) of operator() are not modified and are even const, so this should be a FOConstEval. You can submit this FO to a Vector for evaluation; the Vector will delegate to its DC, and if that is an LDC then that will be the argument.

Definition at line 82 of file rnop.hh.


Constructor & Destructor Documentation

template<typename T, int df>
RVL::CJacobian< T, df >::CJacobian ( GenMat< T > &  _a  ) 

Definition at line 88 of file rnop.hh.


Member Function Documentation

template<typename T, int df>
void RVL::CJacobian< T, df >::operator() ( LocalDataContainer< T > const &  x  )  [virtual]

Implements RVL::UnaryLocalConstEval< T >.

Definition at line 89 of file rnop.hh.

References RVL::LocalDataContainer< DataType >::getData().

template<typename T, int df>
string RVL::CJacobian< T, df >::getName (  )  const [virtual]

Implements RVL::FunctionObjectConstEval.

Definition at line 97 of file rnop.hh.


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