SHOGUN
4.2.0
|
This class contains some utilities for Eigen3 Sparse Matrix integration with shogun. Currently it provides a method for converting SGSparseMatrix to Eigen3 SparseMatrix.
Static Public Member Functions | |
static Eigen::SparseMatrix< T > | toEigenSparse (SGSparseMatrix< T > sg_matrix) |
|
static |
Converts a SGSparseMatrix to Eigen3 SparseMatrix by copying its non-zero co-efficients to a eigen3 SparseMatrix.
sg_matrix | the SGSparseMatrix |
Definition at line 22 of file eigen3.cpp.