#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 MatrixSparse * | createFromAnyMatrix (const AMatrix *mat) |
GSTLEARN_EXPORT void | setUpdateNonZeroValue (int status=2) |
GSTLEARN_EXPORT int | getUpdateNonZeroValue () |
GSTLEARN_EXPORT MatrixSparse * | prodNormMatMat (const MatrixSparse &a, const MatrixSparse &m, bool transpose=false) |
GSTLEARN_EXPORT MatrixSparse * | prodNormMat (const MatrixSparse &a, const VectorDouble &vec=VectorDouble(), bool transpose=false) |
GSTLEARN_EXPORT MatrixSparse * | prodNormDiagVec (const MatrixSparse &a, const VectorDouble &vec, int oper_choice=1) |
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 | ) |