17 #include <Eigen/Eigen> 18 #include <Eigen/Dense> 19 #if EIGEN_VERSION_AT_LEAST(3,0,93) 20 #include <Eigen/Sparse> 22 #define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET 23 #include <unsupported/Eigen/SparseExtra> 25 #ifndef DOXYGEN_SHOULD_SKIP_THIS 28 template <
typename T>
struct Triplet
31 ecol(colIndex), erow(rowIndex), evalue(valueT)
34 index_t col()
const {
return ecol; };
35 index_t row()
const {
return erow; };
36 T value()
const {
return evalue; };
43 template <
typename T>
class SimplicialLLT
44 :
public SimplicialCholesky<T,Lower>
49 SimplicialCholesky<T>::setMode(SimplicialCholeskyLLt);
51 inline const T matrixL()
53 return SimplicialCholesky<T>::m_matrix;
55 inline const T matrixU()
57 return SimplicialCholesky<T>::m_matrix.transpose();
61 #endif //DOXYGEN_SHOULD_SKIP_THIS 63 #endif //EIGEN_VERSION_AT_LEAST(3,0,93) 67 template<
class T>
class SGSparseMatrix;
template class SGSparseMatrix
This class contains some utilities for Eigen3 Sparse Matrix integration with shogun. Currently it provides a method for converting SGSparseMatrix to Eigen3 SparseMatrix.
all of classes and functions are contained in the shogun namespace