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

详细描述

template<typename T, typename ST>
struct shogun::linalg::util::allocate_result< SGMatrix< T >, SGMatrix< ST > >

Specialization for allocate_result when return type is SGMatrix. Works with different scalar types as well. T defines the scalar type for the operand and whereas ST is the scalar type for the result of the element-wise operation.

在文件 AllocResultUtil.h77 行定义.

静态 Public 成员函数

static SGMatrix< ST > alloc (SGMatrix< T > m)
 

成员函数说明

static SGMatrix<ST> alloc ( SGMatrix< T >  m)
static

Creates a newly allocated memory for SGMatrix.

参数
mThe operand for the element-wise operation of scalar type T
返回
The newly allocated result of SGMatrix of scalar type ST

在文件 AllocResultUtil.h85 行定义.


该结构体的文档由以下文件生成:

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