#include <AbstractLinAlgPack_MatrixBase.hpp>
Inheritance diagram for AbstractLinAlgPack::MatrixBase:

Vector spaces for the columns and rows of the matrix | |
| virtual const VectorSpace & | space_cols () const =0 |
| Vector space for vectors that are compatible with the columns of the matrix. | |
| virtual const VectorSpace & | space_rows () const =0 |
| Vector space for vectors that are compatible with the rows of the matrix. | |
Dimensionality | |
| virtual size_type | rows () const |
| Return the number of rows in the matrix. | |
| virtual size_type | cols () const |
| Return the number of columns in the matrix. | |
| virtual size_type | nz () const |
| Return the number of nonzero elements in the matrix. | |
Public Member Functions | |
| virtual | ~MatrixBase () |
| Virtual destructor. | |
Classes | |
| class | IncompatibleMatrices |
| Thrown if matrices are incompatible. More... | |
Definition at line 40 of file AbstractLinAlgPack_MatrixBase.hpp.
| virtual AbstractLinAlgPack::MatrixBase::~MatrixBase | ( | ) | [inline, virtual] |
| virtual const VectorSpace& AbstractLinAlgPack::MatrixBase::space_cols | ( | ) | const [pure virtual] |
Vector space for vectors that are compatible with the columns of the matrix.
Implemented in AbstractLinAlgPack::MatrixOpNonsingAggr, AbstractLinAlgPack::MatrixOpSubView, AbstractLinAlgPack::MatrixPermAggr, AbstractLinAlgPack::MatrixComposite, AbstractLinAlgPack::MatrixSymDiagStd, AbstractLinAlgPack::MatrixSymIdent, AbstractLinAlgPack::MatrixZero, AbstractLinAlgPack::MatrixSparseCOORSerial, AbstractLinAlgPack::MatrixConvertToSparseEncap, AbstractLinAlgPack::MatrixOpSerial, and AbstractLinAlgPack::MultiVectorMutableCols.
| virtual const VectorSpace& AbstractLinAlgPack::MatrixBase::space_rows | ( | ) | const [pure virtual] |
Vector space for vectors that are compatible with the rows of the matrix.
Implemented in AbstractLinAlgPack::MatrixOpNonsingAggr, AbstractLinAlgPack::MatrixOpSubView, AbstractLinAlgPack::MatrixPermAggr, AbstractLinAlgPack::MatrixSymOp, AbstractLinAlgPack::MatrixComposite, AbstractLinAlgPack::MatrixSymDiagStd, AbstractLinAlgPack::MatrixZero, AbstractLinAlgPack::MatrixSparseCOORSerial, AbstractLinAlgPack::MatrixConvertToSparseEncap, AbstractLinAlgPack::MatrixOpSerial, AbstractLinAlgPack::MatrixSymOpSerial, and AbstractLinAlgPack::MultiVectorMutableCols.
| size_type AbstractLinAlgPack::MatrixBase::rows | ( | ) | const [virtual] |
Return the number of rows in the matrix.
The default implementation returns space_cols().dim().
Reimplemented in AbstractLinAlgPack::MatrixOpNonsingAggr, AbstractLinAlgPack::MatrixOpSubView, AbstractLinAlgPack::MatrixPermAggr, AbstractLinAlgPack::MatrixComposite, AbstractLinAlgPack::MatrixSymDiagStd, AbstractLinAlgPack::MatrixSymIdent, AbstractLinAlgPack::MatrixZero, AbstractLinAlgPack::COOMatrixPartitionViewSubclass, AbstractLinAlgPack::MatrixSparseCOORSerial, AbstractLinAlgPack::MatrixWithOpConcreteEncap< M >, AbstractLinAlgPack::MatrixConvertToSparseEncap, AbstractLinAlgPack::MatrixSymDiagSparse, AbstractLinAlgPack::MultiVectorMutableCols, and AbstractLinAlgPack::MultiVectorMutableDense.
Definition at line 34 of file AbstractLinAlgPack_MatrixBase.cpp.
| size_type AbstractLinAlgPack::MatrixBase::cols | ( | ) | const [virtual] |
Return the number of columns in the matrix.
The default implementation returns space_rows().dim().
Reimplemented in AbstractLinAlgPack::MatrixOpNonsingAggr, AbstractLinAlgPack::MatrixOpSubView, AbstractLinAlgPack::MatrixPermAggr, AbstractLinAlgPack::MatrixSymOp, AbstractLinAlgPack::MatrixComposite, AbstractLinAlgPack::MatrixZero, AbstractLinAlgPack::COOMatrixPartitionViewSubclass, AbstractLinAlgPack::MatrixSparseCOORSerial, AbstractLinAlgPack::MatrixWithOpConcreteEncap< M >, AbstractLinAlgPack::MatrixConvertToSparseEncap, AbstractLinAlgPack::MultiVectorMutableCols, and AbstractLinAlgPack::MultiVectorMutableDense.
Definition at line 39 of file AbstractLinAlgPack_MatrixBase.cpp.
| size_type AbstractLinAlgPack::MatrixBase::nz | ( | ) | const [virtual] |
Return the number of nonzero elements in the matrix.
The default is to just assume it is dense and to return rows() * cols().
Reimplemented in AbstractLinAlgPack::MatrixOpNonsingAggr, AbstractLinAlgPack::MatrixOpSubView, AbstractLinAlgPack::MatrixPermAggr, AbstractLinAlgPack::MatrixComposite, AbstractLinAlgPack::MatrixSymDiagStd, AbstractLinAlgPack::MatrixSymIdent, AbstractLinAlgPack::MatrixZero, AbstractLinAlgPack::MatrixSparseCOORSerial, and AbstractLinAlgPack::MatrixConvertToSparseEncap.
Definition at line 44 of file AbstractLinAlgPack_MatrixBase.cpp.
1.4.7