GammaLib 2.0.0
Loading...
Searching...
No Matches
GSparseSymbolic.hpp File Reference

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
 

Detailed Description

Sparse matrix symbolic analysis class definition.

Author
Juergen Knoedlseder

Definition in file GSparseSymbolic.hpp.

Function Documentation

◆ cs_cumsum()

double cs_cumsum ( int * p,
int * c,
int n )

cs_cumsum

Parameters
[out]pInteger array (n+1 elements).
[in]cInteger array (n elements).
[in]nNumber 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().

◆ cs_symperm()

GMatrixSparse cs_symperm ( const GMatrixSparse & matrix,
const int * pinv )

cs_symperm

Parameters
[in]matrixMatrix.
[in]pinvTBD.

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().

◆ cs_transpose()

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().