GammaLib
2.1.0.dev
|
Sparse matrix numeric analysis class. More...
#include <GSparseNumeric.hpp>
Public Member Functions | |
GSparseNumeric (void) | |
virtual | ~GSparseNumeric (void) |
GSparseNumeric & | operator= (const GSparseNumeric &n) |
void | cholesky_numeric_analysis (const GMatrixSparse &m, const GSparseSymbolic &s) |
Private Member Functions | |
int | cs_ereach (const GMatrixSparse *A, int k, const int *parent, int *s, int *w) |
Private Attributes | |
GMatrixSparse * | m_L |
GMatrixSparse * | m_U |
int * | m_pinv |
double * | m_B |
int | m_n_pinv |
int | m_n_B |
Friends | |
class | GMatrixSparse |
std::ostream & | operator<< (std::ostream &os, const GSparseNumeric &n) |
Sparse matrix numeric analysis class.
Definition at line 47 of file GSparseNumeric.hpp.
GSparseNumeric::GSparseNumeric | ( | void | ) |
|
virtual |
void GSparseNumeric::cholesky_numeric_analysis | ( | const GMatrixSparse & | m, |
const GSparseSymbolic & | s | ||
) |
Definition at line 162 of file GSparseNumeric.cpp.
References cs_ereach(), cs_symperm(), G_CHOLESKY, GMatrixSparse, m_B, GMatrixBase::m_cols, GMatrixBase::m_colstart, GSparseSymbolic::m_cp, GMatrixBase::m_data, m_L, m_n_B, m_n_pinv, GSparseSymbolic::m_parent, m_pinv, GSparseSymbolic::m_pinv, GMatrixSparse::m_rowinx, m_U, sqrt(), and gammalib::str().
Referenced by GMatrixSparse::cholesky_decompose().
|
private |
Definition at line 311 of file GSparseNumeric.cpp.
References CS_MARK, CS_MARKED, GMatrixBase::m_cols, GMatrixBase::m_colstart, and GMatrixSparse::m_rowinx.
Referenced by cholesky_numeric_analysis().
GSparseNumeric & GSparseNumeric::operator= | ( | const GSparseNumeric & | n | ) |
Definition at line 96 of file GSparseNumeric.cpp.
References GMatrixSparse, m_B, m_L, m_n_B, m_n_pinv, m_pinv, and m_U.
|
friend |
Definition at line 50 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), and operator=().
|
friend |
Definition at line 380 of file GSparseNumeric.cpp.
|
private |
Definition at line 74 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), operator=(), and ~GSparseNumeric().
|
private |
Definition at line 71 of file GSparseNumeric.hpp.
Referenced by GMatrixSparse::cholesky_decompose(), cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), operator=(), and ~GSparseNumeric().
|
private |
Definition at line 76 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), and operator=().
|
private |
Definition at line 75 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), and operator=().
|
private |
Definition at line 73 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), operator=(), and ~GSparseNumeric().
|
private |
Definition at line 72 of file GSparseNumeric.hpp.
Referenced by cholesky_numeric_analysis(), GSparseNumeric(), operator<<(), operator=(), and ~GSparseNumeric().