#include <rnop.hh>
Inheritance diagram for RVL::CJacobian< T, df >:
Public Member Functions | |
CJacobian (GenMat< T > &_a) | |
void | operator() (LocalDataContainer< T > const &x) |
string | getName () const |
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.
RVL::CJacobian< T, df >::CJacobian | ( | GenMat< T > & | _a | ) |
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().
string RVL::CJacobian< T, df >::getName | ( | ) | const [virtual] |