29 #ifndef __MatrixShell_H
30 #define __MatrixShell_H 1
32 #include <feel/feelcore/traits.hpp>
33 #include <feel/feelalg/vector.hpp>
59 typedef typename type_traits<T>::real_type real_type;
61 typedef boost::shared_ptr<Vector<T> > vector_ptrtype;
127 boost::shared_ptr<
Vector<T> >& dest )
const
136 boost::shared_ptr<
Vector<T> >& dest )
const
Definition: solverlinear.hpp:33
virtual size_type size2() const =0
virtual void diagonal(vector_type &v) const =0
copies the diagonal of the matrix into v.
virtual void multAddVector(vector_type const &in, vector_type &out) const =0
Multiplies the matrix with in and adds the result to out.
virtual void multVector(vector_type const &in, vector_type &out) const =0
Multiplies the matrix with in and stores the result in out.
virtual size_type size1() const =0
void multVector(const boost::shared_ptr< Vector< T > > &arg, boost::shared_ptr< Vector< T > > &dest) const
Definition: matrixshell.hpp:126
size_t size_type
Indices (starting from 0)
Definition: feelcore/feel.hpp:319
matrices that define its action against a vector
Definition: matrixshell.hpp:49