42 #include "AbstractLinAlgPack_MatrixBase.hpp" 43 #include "AbstractLinAlgPack_VectorSpace.hpp" virtual size_type nz() const
Return the number of nonzero elements in the matrix.
virtual index_type dim() const =0
Return the dimmension of the vector space.
virtual const VectorSpace & space_cols() const =0
Vector space for vectors that are compatible with the columns of the matrix.
virtual size_type cols() const
Return the number of columns in the matrix.
virtual const VectorSpace & space_rows() const =0
Vector space for vectors that are compatible with the rows of the matrix.
virtual size_type rows() const
Return the number of rows in the matrix.