![]() |
Blaze 3.9
|
Base class for sparse matrices. More...
#include <SparseMatrix.h>
Inherits blaze::Matrix< MT, SO >.
Public Types | |
using | MatrixType = MT |
Type of the matrix. | |
Public Member Functions | |
Conversion operators | |
BLAZE_ALWAYS_INLINE constexpr MT & | operator~ () noexcept |
CRTP-based conversion operation for non-constant matrices. More... | |
BLAZE_ALWAYS_INLINE constexpr const MT & | operator~ () const noexcept |
CRTP-based conversion operation for constant matrices. More... | |
constexpr MT & | operator* () noexcept |
CRTP-based conversion operation for non-constant matrices. More... | |
constexpr const MT & | operator* () const noexcept |
CRTP-based conversion operation for constant matrices. More... | |
Static Public Attributes | |
static constexpr bool | storageOrder = SO |
Storage order of the matrix. | |
Protected Member Functions | |
Special member functions | |
SparseMatrix ()=default | |
SparseMatrix (const SparseMatrix &)=default | |
SparseMatrix (SparseMatrix &&)=default | |
~SparseMatrix ()=default | |
SparseMatrix & | operator= (const SparseMatrix &)=default |
SparseMatrix & | operator= (SparseMatrix &&)=default |
Base class for sparse matrices.
The SparseMatrix class is a base class for all sparse matrix classes. It provides an abstraction from the actual type of the sparse matrix, but enables a conversion back to this type via the Matrix base class.
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant matrices.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a constant reference to the actual type MT.
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant matrices.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a mutable reference to the actual type MT.
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant matrices.
matrix | The matrix to be downcast. |
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a constant reference to the actual type MT.
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant matrices.
matrix | The matrix to be downcast. |
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a mutable reference to the actual type MT.