GammaLib
2.1.0.dev
|
Sparse matrix class definition. More...
Go to the source code of this file.
Classes | |
class | GMatrixSparse |
Sparse matrix class interface definition. More... | |
Macros | |
#define | G_SPARSE_MATRIX_DEFAULT_MEM_BLOCK 512 |
#define | G_SPARSE_MATRIX_DEFAULT_STACK_ENTRIES 1000 |
#define | G_SPARSE_MATRIX_DEFAULT_STACK_SIZE 512 |
Functions | |
GMatrixSparse | operator* (const GMatrixSparse &matrix, const double &scalar) |
Multiply matrix by scalar. More... | |
GMatrixSparse | operator* (const double &scalar, const GMatrixSparse &matrix) |
Multiply matrix by scalar. More... | |
GMatrixSparse | operator/ (const GMatrixSparse &matrix, const double &scalar) |
Divide matrix by scalar. More... | |
Sparse matrix class definition.
Definition in file GMatrixSparse.hpp.
#define G_SPARSE_MATRIX_DEFAULT_MEM_BLOCK 512 |
Definition at line 35 of file GMatrixSparse.hpp.
Referenced by GMatrixSparse::init_members().
#define G_SPARSE_MATRIX_DEFAULT_STACK_ENTRIES 1000 |
Definition at line 36 of file GMatrixSparse.hpp.
#define G_SPARSE_MATRIX_DEFAULT_STACK_SIZE 512 |
Definition at line 37 of file GMatrixSparse.hpp.
Referenced by GMatrixSparse::stack_init().
|
inline |
Multiply matrix by scalar.
[in] | matrix | Matrix. |
[in] | scalar | Scalar. |
scalar
. Definition at line 480 of file GMatrixSparse.hpp.
|
inline |
Multiply matrix by scalar.
[in] | scalar | Scalar. |
[in] | matrix | Matrix. |
scalar
. Definition at line 497 of file GMatrixSparse.hpp.
|
inline |
Divide matrix by scalar.
[in] | matrix | Matrix. |
[in] | scalar | Scalar. |
scalar
. Definition at line 514 of file GMatrixSparse.hpp.