Class for template sparse matrices; use with SparseVector.
Definition in file SparseMatrix.hpp.
#include <algorithm>#include <map>#include <string>#include "Matrix.hpp"#include "SparseVector.hpp"

Go to the source code of this file.
Classes | |
| class | gnsstk::SMatProxy< T > |
| Proxy class for elements of the SparseMatrix (SM). More... | |
| class | gnsstk::SparseMatrix< T > |
| class | gnsstk::SparseMatrix< T > |
Namespaces | |
| gnsstk | |
| For Sinex::InputHistory. | |
Functions | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::identSparse (const unsigned int dim) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::inverse (const SparseMatrix< T > &A) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::inverseLT (const SparseMatrix< T > &L, T *ptrSmall, T *ptrBig) |
| Compute inverse of lower-triangular SparseMatrix. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::inverseViaCholesky (const SparseMatrix< T > &A) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::lowerCholesky (const SparseMatrix< T > &A) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::matrixTimesTranspose (const SparseMatrix< T > &M) |
| template<class T > | |
| T | gnsstk::max (const SparseMatrix< T > &SM) |
| Maximum element - return 0 if empty. More... | |
| template<class T > | |
| T | gnsstk::maxabs (const SparseMatrix< T > &SM) |
| Maximum absolute value - return 0 if empty. More... | |
| template<class T > | |
| T | gnsstk::min (const SparseMatrix< T > &SM) |
| Maximum element - return 0 if empty. More... | |
| template<class T > | |
| T | gnsstk::minabs (const SparseMatrix< T > &SM) |
| Minimum absolute value - return 0 if empty. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator* (const Matrix< T > &L, const SparseMatrix< T > &R) |
| Matrix multiply: SparseMatrix = Matrix * SparseMatrix. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const Matrix< T > &L, const SparseVector< T > &V) |
| Matrix,Vector multiply: SparseVector = Matrix * SparseVector. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator* (const SparseMatrix< T > &L, const Matrix< T > &R) |
| Matrix multiply: SparseMatrix = SparseMatrix * Matrix. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator* (const SparseMatrix< T > &L, const SparseMatrix< T > &R) |
| Matrix multiply: SparseMatrix = SparseMatrix * SparseMatrix. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const SparseMatrix< T > &L, const SparseVector< T > &V) |
| Matrix,Vector multiply: SparseVector = SparseMatrix * SparseVector. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const SparseMatrix< T > &L, const Vector< T > &V) |
| Matrix,Vector multiply: SparseVector = SparseMatrix * Vector. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const SparseVector< T > &V, const Matrix< T > &R) |
| Vector,Matrix multiply: SparseVector = SparseVector * Matrix. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const SparseVector< T > &V, const SparseMatrix< T > &R) |
| Vector,Matrix multiply: SparseVector = SparseVector * SparseMatrix. More... | |
| template<class T > | |
| SparseVector< T > | gnsstk::operator* (const Vector< T > &V, const SparseMatrix< T > &R) |
| Vector,Matrix multiply: SparseVector = Vector * SparseMatrix. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator+ (const Matrix< T > &L, const SparseMatrix< T > &R) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator+ (const SparseMatrix< T > &L, const Matrix< T > &R) |
| Matrix addition: SparseMatrix = SparseMatrix + Matrix : copy, += M. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator+ (const SparseMatrix< T > &L, const SparseMatrix< T > &R) |
| Matrix addition: SparseMatrix = SparseMatrix + SparseMatrix : copy, += SM. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator- (const Matrix< T > &L, const SparseMatrix< T > &R) |
| Matrix subtraction: SparseMatrix = Matrix - SparseMatrix. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator- (const SparseMatrix< T > &L, const Matrix< T > &R) |
| Matrix subtraction: SparseMatrix = SparseMatrix - Matrix. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator- (const SparseMatrix< T > &L, const SparseMatrix< T > &R) |
| Matrix subtraction: SparseMatrix = SparseMatrix - SparseMatrix. More... | |
| template<class T > | |
| std::ostream & | gnsstk::operator<< (std::ostream &os, const SparseMatrix< T > &SM) |
| stream output operator More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator|| (const SparseMatrix< T > &L, const SparseMatrix< T > &R) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::operator|| (const SparseMatrix< T > &L, const Vector< T > &V) |
| Concatenation SparseMatrix || Vector TD the rest of them... More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::SparseHouseholder (const SparseMatrix< T > &A) |
| Householder transformation of a matrix. More... | |
| template<class T > | |
| void | gnsstk::SrifMU (Matrix< T > &R, Vector< T > &Z, SparseMatrix< T > &A, const unsigned int M) |
| template<class T > | |
| void | gnsstk::SrifMU (Matrix< T > &R, Vector< T > &Z, SparseMatrix< T > &P, Vector< T > &D, const unsigned int M) |
| template<class T > | |
| Vector< T > | gnsstk::transformDiag (const SparseMatrix< T > &P, const Matrix< T > &C) |
| Compute diagonal of P*C*P^T, ie diagonal of transform of square Matrix C. More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::transpose (const SparseMatrix< T > &M) |
| transpose More... | |
| template<class T > | |
| SparseMatrix< T > | gnsstk::transposeTimesMatrix (const SparseMatrix< T > &M) |
| template<class T > | |
| SparseMatrix< T > | gnsstk::upperCholesky (const SparseMatrix< T > &A) |