GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GSparseNumeric Class Reference

Sparse matrix numeric analysis class. More...

#include <GSparseNumeric.hpp>

Public Member Functions

 GSparseNumeric (void)
 
virtual ~GSparseNumeric (void)
 
GSparseNumericoperator= (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

GMatrixSparsem_L
 
GMatrixSparsem_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)
 

Detailed Description

Sparse matrix numeric analysis class.

Definition at line 47 of file GSparseNumeric.hpp.

Constructor & Destructor Documentation

GSparseNumeric::GSparseNumeric ( void  )

Definition at line 56 of file GSparseNumeric.cpp.

References m_B, m_L, m_n_B, m_n_pinv, m_pinv, and m_U.

GSparseNumeric::~GSparseNumeric ( void  )
virtual

Definition at line 74 of file GSparseNumeric.cpp.

References m_B, m_L, m_pinv, and m_U.

Member Function Documentation

int GSparseNumeric::cs_ereach ( const GMatrixSparse A,
int  k,
const int *  parent,
int *  s,
int *  w 
)
private
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.

Friends And Related Function Documentation

friend class GMatrixSparse
friend

Definition at line 50 of file GSparseNumeric.hpp.

Referenced by cholesky_numeric_analysis(), and operator=().

std::ostream& operator<< ( std::ostream &  os,
const GSparseNumeric n 
)
friend

Definition at line 380 of file GSparseNumeric.cpp.

Member Data Documentation

double* GSparseNumeric::m_B
private
int GSparseNumeric::m_n_B
private
int GSparseNumeric::m_n_pinv
private
int* GSparseNumeric::m_pinv
private
GMatrixSparse* GSparseNumeric::m_U
private

The documentation for this class was generated from the following files: