24#ifndef _GEMA_PLUGIN_ARMADILLO_MATRIX_H_
25#define _GEMA_PLUGIN_ARMADILLO_MATRIX_H_
46 virtual void clear(
bool keepSparseLayout);
47 virtual void clearLineAndColumnSet(
const QVector<int>& indexList,
bool setDiagonal,
bool keepSparseLayout);
48 virtual void ensureDiagonal();
A class for wrapping up an Armadillo sparse matrix sharing the memory with a GeMA sparse matrix....
Definition gmpArmadilloMatrix.h:37
virtual ~GmpArmadilloMatrix()
Destructor.
Definition gmpArmadilloMatrix.cpp:67
arma::sp_mat _armaMat
An Armadillo matrix created sharing vectors with the base class memory.
Definition gmpArmadilloMatrix.h:55
virtual void matrixLayoutReady()
Allocates space for matrix values and build the Armadillo wrapper over matrix vectors.
Definition gmpArmadilloMatrix.cpp:78
const arma::sp_mat & armaMat() const
Returns the Armadillo matrix wrapped by this class.
Definition gmpArmadilloMatrix.h:44
GmpArmadilloMatrix(int nlin, const GmpArmadilloMatrix *sharedLayout, GmSparseMatrixOptions options)
Constructor for the square matrix used by the Armadillo solver. If sharedLayout is different from NUL...
Definition gmpArmadilloMatrix.cpp:44