Feel++ 0.91.0
|
matrices that define its action against a vector More...
#include <matrixshell.hpp>
Public Types | |
Typedefs | |
typedef T | value_type |
typedef type_traits< T >::real_type | real_type |
Public Member Functions | |
Constructors, destructor | |
MatrixShell () | |
virtual | ~MatrixShell () |
Accessors | |
virtual size_type | size1 () const =0 |
virtual size_type | size2 () const =0 |
Methods | |
virtual void | diagonal (vector_type &v)=0 |
copies the diagonal of the matrix into v . | |
virtual void | mult (vector_type const &arg, vector_type &dest)=0 |
Multiplies the matrix with arg and stores the result in dest. | |
virtual void | multAndAdd (vector_type const &arg, vector_type &dest)=0 |
Multiplies the matrix with arg and adds the result to dest. |
matrices that define its action against a vector
Generic shell matrix, i.e. a matrix that does not define anything but its action on a vector. This class contains pure virtual members that must be overloaded in derived classes.
virtual size_type Feel::MatrixShell< T >::size1 | ( | ) | const [pure virtual] |
m
, the row-dimension of the matrix where the marix is Implemented in Feel::MatrixShellSparse< T >.
virtual size_type Feel::MatrixShell< T >::size2 | ( | ) | const [pure virtual] |
n
, the column-dimension of the matrix where the marix is Implemented in Feel::MatrixShellSparse< T >.