![]() |
GemaCoreLib
The GeMA Core library
|
Declaration of the GmSparseMatrixOptions class. More...
Go to the source code of this file.
Classes | |
class | GmSparseMatrixOptions |
Set of configuration options for Sparse matrices. More... | |
Macros | |
#define | GM_MATRIX_OPTIONS_DEF_RESIZE_FACTOR 2.0 |
Enumerations | |
enum | GmSparseMatrixLayoutMode { GM_TRIPLET_LIST, GM_HASH_LAYOUT, GM_VECTOR_LAYOUT, GM_ARMADILLO_TRIPLET_LIST } |
Supported modes for building the sparse matrix. More... | |
Declaration of the GmSparseMatrixOptions class.
Supported modes for building the sparse matrix.
Enumerator | |
---|---|
GM_TRIPLET_LIST | Batch mode with a (per thread) triplet list. |
GM_HASH_LAYOUT | Layout mode with a hash table. |
GM_VECTOR_LAYOUT | Layout mode with a vector based structure. |
GM_ARMADILLO_TRIPLET_LIST | Not a real GmSparseMatrix layout mode and NOT supported by the class. Used to instruct numeric solvers that the "old" Armadillo based sparse matrix should be used instead of a GmSparseMatrix based matrix. Added here to simplify code. The alternative would be to add an additional mode to the GmNumSolver interface class, wich is not very attractive either. Batch mode with a (per thread) triplet list. |