GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 44 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

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

Definition at line 43 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

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

Definition at line 42 of file GSparseSymbolic.cpp.

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

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

Definition at line 37 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cholesky_symbolic_analysis().

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

Definition at line 39 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

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

Definition at line 45 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

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

Definition at line 46 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

Function Documentation