#include <rnmat.hh>
Inheritance diagram for RVL::matvec< T >:
Public Member Functions | |
matvec (int _rows, int _cols) | |
matvec (matvec< T > const *m) | |
~matvec () | |
T * | getData () |
expose data | |
T const * | getData () const |
void | eval (UnaryLocalFunctionObject< T > &f) |
do something to all elements | |
T & | getElement (int i, int j) |
mutable element access | |
T const & | getElement (int i, int j) const |
const element access | |
void | setAdj (bool flag) const |
toggle between operator and adjoint | |
bool | getAdj () const |
tell the truth! | |
void | operator() (LocalDataContainer< T > &y, LocalDataContainer< T > const &x) |
string | getName () const |
Stores matrix as an RnArray. Provides action of matrix or of its transpose.
Definition at line 46 of file rnmat.hh.
RVL::matvec< T >::matvec | ( | int | _rows, | |
int | _cols | |||
) |
RVL::matvec< T >::matvec | ( | matvec< T > const * | m | ) |
RVL::matvec< T >::~matvec | ( | ) |
T* RVL::matvec< T >::getData | ( | ) |
T const* RVL::matvec< T >::getData | ( | ) | const |
void RVL::matvec< T >::eval | ( | UnaryLocalFunctionObject< T > & | f | ) |
T& RVL::matvec< T >::getElement | ( | int | i, | |
int | j | |||
) |
mutable element access
Definition at line 72 of file rnmat.hh.
References RVL::RnArray< Scalar >::getData().
T const& RVL::matvec< T >::getElement | ( | int | i, | |
int | j | |||
) | const |
const element access
Definition at line 89 of file rnmat.hh.
References RVL::RnArray< Scalar >::getData().
void RVL::matvec< T >::setAdj | ( | bool | flag | ) | const |
bool RVL::matvec< T >::getAdj | ( | ) | const |
void RVL::matvec< T >::operator() | ( | LocalDataContainer< T > & | y, | |
LocalDataContainer< T > const & | x | |||
) | [virtual] |
Implements RVL::BinaryLocalEvaluation< T >.
Definition at line 116 of file rnmat.hh.
References RVL::RnArray< Scalar >::getData(), RVL::LocalDataContainer< DataType >::getData(), and RVL::LocalDataContainer< DataType >::getSize().
string RVL::matvec< T >::getName | ( | ) | const [virtual] |