|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Sparse matrix with generic domains. More...
Go to the source code of this file.
Classes | |
| class | Aleph::Matrix< Trow, Tcol, NumType > |
| Sparse matrix with generic row and column domains. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<typename Trow , typename Tcol , typename NumType > | |
| Matrix< Trow, Tcol, NumType > | Aleph::operator* (const NumType &scalar, const Matrix< Trow, Tcol, NumType > &m) |
| Scalar-matrix multiplication (scalar * matrix). | |
| template<typename Trow , typename Tcol , typename NumType > | |
| Vector< Tcol, NumType > | Aleph::operator* (const Vector< Trow, NumType > &vec, const Matrix< Trow, Tcol, NumType > &m) |
| Vector-matrix multiplication (vector * matrix). | |
| template<typename Trow , typename Tcol , typename NumType > | |
| std::ostream & | Aleph::operator<< (std::ostream &s, const Matrix< Trow, Tcol, NumType > &m) |
| Stream output operator for Matrix. | |
| template<typename Trow , typename Tcol , typename NumType = double> | |
| Matrix< Trow, Tcol, NumType > | Aleph::outer_product (const Vector< Trow, NumType > &v1, const Vector< Tcol, NumType > &v2) |
| Compute the outer product of two vectors. | |
Sparse matrix with generic domains.
Provides Matrix class for sparse matrices where rows and columns can have arbitrary domains. Efficient for matrices with many zero elements using hash-based storage.
Definition in file al-matrix.H.