GemaCoreLib
The GeMA Core library
Classes | Macros | Enumerations
gmSparseMatrixOptions.h File Reference

Declaration of the GmSparseMatrixOptions class. More...

#include "gmCoreConfig.h"
#include "gmSparseMatrixTripletData.h"
Include dependency graph for gmSparseMatrixOptions.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Declaration of the GmSparseMatrixOptions class.

Author
Carlos A. T. Mendes
Date
march, 2020

Enumeration Type Documentation

◆ GmSparseMatrixLayoutMode

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.