1.1.0
CCC
 
MatrixSparse.hpp File Reference
#include "gstlearn_export.hpp"
#include "Basic/WarningMacro.hpp"
#include "Basic/VectorNumT.hpp"
#include "Matrix/AMatrix.hpp"
#include <Eigen/Sparse>

Classes

class  MatrixSparse
 

Functions

GSTLEARN_EXPORT MatrixSparsecreateFromAnyMatrix (const AMatrix *mat)
 
GSTLEARN_EXPORT void setUpdateNonZeroValue (int status=2)
 
GSTLEARN_EXPORT int getUpdateNonZeroValue ()
 
GSTLEARN_EXPORT MatrixSparseprodNormMatMat (const MatrixSparse &a, const MatrixSparse &m, bool transpose=false)
 
GSTLEARN_EXPORT MatrixSparseprodNormMat (const MatrixSparse &a, const VectorDouble &vec=VectorDouble(), bool transpose=false)
 
GSTLEARN_EXPORT MatrixSparseprodNormDiagVec (const MatrixSparse &a, const VectorDouble &vec, int oper_choice=1)
 

Function Documentation

GSTLEARN_EXPORT MatrixSparse* createFromAnyMatrix ( const AMatrix mat)

Transform any matrix into a Sparse format

GSTLEARN_EXPORT int getUpdateNonZeroValue ( )
GSTLEARN_EXPORT MatrixSparse* prodNormDiagVec ( const MatrixSparse a,
const VectorDouble vec,
int  oper_choice = 1 
)

Product 'Diag(vec)' %*% 'A' %*% 'Diag(vec)'

GSTLEARN_EXPORT MatrixSparse* prodNormMat ( const MatrixSparse a,
const VectorDouble vec = VectorDouble(),
bool  transpose = false 
)

Product 't(A)' %*% ['vec'] %*% 'A' or 'A' %*% ['vec'] %*% 't(A)' stored in 'this'

GSTLEARN_EXPORT MatrixSparse* prodNormMatMat ( const MatrixSparse a,
const MatrixSparse m,
bool  transpose = false 
)

Product 't(A)' %*% 'M' %*% 'A' or 'A' %*% 'M' %*% 't(A)'

GSTLEARN_EXPORT void setUpdateNonZeroValue ( int  status = 2)