GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GSparseSymbolic.cpp File Reference

Sparse matrix symbolic analysis class implementation. More...

#include "GMatrixSparse.hpp"
#include "GSparseSymbolic.hpp"

Go to the source code of this file.

Macros

#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 37 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

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

Definition at line 36 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_amd().

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

Definition at line 35 of file GSparseSymbolic.cpp.

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

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

Definition at line 952 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

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

Definition at line 953 of file GSparseSymbolic.cpp.

Referenced by GSparseSymbolic::cs_counts().

Function Documentation