GammaLib 2.0.0
|
Sparse matrix symbolic analysis class definition. More...
Go to the source code of this file.
Classes | |
class | GSparseSymbolic |
Sparse matrix symbolic analysis class. More... | |
Functions | |
GMatrixSparse | cs_symperm (const GMatrixSparse &matrix, const int *pinv) |
cs_symperm | |
GMatrixSparse | cs_transpose (const GMatrixSparse &matrix, int values) |
double | cs_cumsum (int *p, int *c, int n) |
cs_cumsum | |
Sparse matrix symbolic analysis class definition.
Definition in file GSparseSymbolic.hpp.
double cs_cumsum | ( | int * | p, |
int * | c, | ||
int | n ) |
cs_cumsum
[out] | p | Integer array (n+1 elements). |
[in] | c | Integer array (n elements). |
[in] | n | Number of elements. |
Evaluate p[0..n] = cumulative sum of c[0..n-1]
Definition at line 199 of file GMatrixSparse.cpp.
References GMatrixSymmetric::column(), GMatrixBase::columns(), and GMatrixBase::rows().
Referenced by GSparseSymbolic::cholesky_symbolic_analysis().
GMatrixSparse cs_symperm | ( | const GMatrixSparse & | matrix, |
const int * | pinv ) |
cs_symperm
[in] | matrix | Matrix. |
[in] | pinv | TBD. |
Returns matrix(p,p) where matrix and matrix(p,p) are symmetric the upper part stored.
Definition at line 197 of file GMatrixSparse.cpp.
Referenced by GSparseNumeric::cholesky_numeric_analysis(), and GSparseSymbolic::cholesky_symbolic_analysis().
GMatrixSparse cs_transpose | ( | const GMatrixSparse & | matrix, |
int | values ) |
Definition at line 198 of file GMatrixSparse.cpp.
Referenced by GSparseSymbolic::cs_amd(), and GSparseSymbolic::cs_counts().