42 #ifndef ABSTRACT_LINALG_PACK_MATRIX_BASE_H 
   43 #define ABSTRACT_LINALG_PACK_MATRIX_BASE_H 
   49 namespace AbstractLinAlgPack {
 
  102 #endif  // ABSTRACT_LINALG_PACK_MATRIX_BASE_H 
virtual size_type nz() const 
Return the number of nonzero elements in the matrix. 
 
Base class for all polymorphic matrices. 
 
virtual const VectorSpace & space_rows() const =0
Vector space for vectors that are compatible with the rows of the matrix. 
 
virtual ~MatrixBase()
Virtual destructor. 
 
Thrown if matrices are incompatible. 
 
IncompatibleMatrices(const std::string &what_arg)
 
virtual size_type cols() const 
Return the number of columns in the matrix. 
 
RTOp_index_type size_type
 
Abstract interface for objects that represent a space for mutable coordinate vectors. 
 
virtual const VectorSpace & space_cols() const =0
Vector space for vectors that are compatible with the columns of the matrix. 
 
virtual size_type rows() const 
Return the number of rows in the matrix.