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

Sparse matrix symbolic analysis class implementation. More...

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

Go to the source code of this file.

Macros

#define G_CHOLESKY
 
#define G_CS_AMD   "GSparseSymbolic::cs_amd(int, GMatrixSparse*)"
 
#define CS_MIN(a, b)   (((a) < (b)) ? (a) : (b))
 
#define CS_MAX(a, b)   (((a) > (b)) ? (a) : (b))
 
#define CS_FLIP(i)   (-(i)-2)
 
#define HEAD(k, j)   (ata ? head [k] : j)
 
#define NEXT(J)   (ata ? next [J] : -1)
 

Functions

std::ostream & operator<< (std::ostream &os, const GSparseSymbolic &s)
 

Detailed Description

Sparse matrix symbolic analysis class implementation.

Author
Juergen Knoedlseder

Definition in file GSparseSymbolic.cpp.

Macro Definition Documentation

◆ CS_FLIP

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

Definition at line 44 of file GSparseSymbolic.cpp.

◆ CS_MAX

#define CS_MAX ( a,
b )   (((a) > (b)) ? (a) : (b))

Definition at line 43 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

◆ CS_MIN

#define CS_MIN ( a,
b )   (((a) < (b)) ? (a) : (b))

Definition at line 42 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd(), and GSparseSymbolic::init_ata().

◆ G_CHOLESKY

#define G_CHOLESKY
Value:
"GSparseSymbolic::cholesky_symbolic_analysis(int, "\
"GMatrixSparse&)"

Definition at line 37 of file GSparseSymbolic.cpp.

◆ G_CS_AMD

#define G_CS_AMD   "GSparseSymbolic::cs_amd(int, GMatrixSparse*)"

Definition at line 39 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

◆ HEAD

#define HEAD ( k,
j )   (ata ? head [k] : j)

Definition at line 45 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

◆ NEXT

#define NEXT ( J)    (ata ? next [J] : -1)

Definition at line 46 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const GSparseSymbolic & s )

Definition at line 1609 of file GSparseSymbolic.cpp.