SHOGUN  6.1.3
List of all members | Static Public Member Functions
EigenSparseUtil< T > Class Template Reference

Detailed Description

template<typename T>
class shogun::EigenSparseUtil< T >

This class contains some utilities for Eigen3 Sparse Matrix integration with shogun. Currently it provides a method for converting SGSparseMatrix to Eigen3 SparseMatrix.

Definition at line 48 of file eigen3.h.

Static Public Member Functions

static Eigen::SparseMatrix< T > toEigenSparse (SGSparseMatrix< T > sg_matrix)

Member Function Documentation

SparseMatrix< T > toEigenSparse ( SGSparseMatrix< T >  sg_matrix)

Converts a SGSparseMatrix to Eigen3 SparseMatrix by copying its non-zero co-efficients to a eigen3 SparseMatrix.

sg_matrixthe SGSparseMatrix
Eigen3 SparseMatrix representation of sg_matrix

Definition at line 22 of file eigen3.cpp.

The documentation for this class was generated from the following files:

SHOGUN Machine Learning Toolbox - Documentation