SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | 静态 Public 成员函数
EigenSparseUtil< T > 模板类 参考

详细描述

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.

在文件 eigen3.h73 行定义.

静态 Public 成员函数

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

成员函数说明

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_matrixthe SGSparseMatrix
返回
Eigen3 SparseMatrix representation of sg_matrix

在文件 eigen3.cpp23 行定义.


该类的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档