GammaLib 2.0.0
Loading...
Searching...
No Matches
GSparseNumeric.cpp File Reference

Sparse matrix numeric analysis class implementation. More...

#include "GException.hpp"
#include "GTools.hpp"
#include "GMatrixSparse.hpp"
#include "GSparseNumeric.hpp"
#include "GSparseSymbolic.hpp"

Go to the source code of this file.

Macros

#define G_CHOLESKY
 
#define CS_FLIP(i)   (-(i)-2)
 
#define CS_MARK(w, j)   { w [j] = CS_FLIP (w [j]) ; }
 
#define CS_MARKED(w, j)   (w [j] < 0)
 

Functions

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

Detailed Description

Sparse matrix numeric analysis class implementation.

Author
Juergen Knoedlseder

Definition in file GSparseNumeric.cpp.

Macro Definition Documentation

◆ CS_FLIP

#define CS_FLIP ( i)    (-(i)-2)

Definition at line 42 of file GSparseNumeric.cpp.

Referenced by GSparseSymbolic::cs_amd().

◆ CS_MARK

#define CS_MARK ( w,
j )   { w [j] = CS_FLIP (w [j]) ; }

Definition at line 43 of file GSparseNumeric.cpp.

Referenced by GSparseNumeric::cs_ereach().

◆ CS_MARKED

#define CS_MARKED ( w,
j )   (w [j] < 0)

Definition at line 44 of file GSparseNumeric.cpp.

Referenced by GSparseNumeric::cs_ereach().

◆ G_CHOLESKY

#define G_CHOLESKY
Value:
"GSparseNumeric::cholesky_numeric_analysis("\
"GMatrixSparse&, GSparseSymbolic&)"

Definition at line 38 of file GSparseNumeric.cpp.

Referenced by GSparseNumeric::cholesky_numeric_analysis(), and GSparseSymbolic::cholesky_symbolic_analysis().

Function Documentation

◆ operator<<()

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

Definition at line 380 of file GSparseNumeric.cpp.