This class contains some utilities for Eigen3 Sparse Matrix integration with shogun. Currently it provides a method for converting SGSparseMatrix to Eigen3 SparseMatrix.
静态 Public 成员函数 | |
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 |
在文件 eigen3.cpp 第 23 行定义.