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

详细描述

template<class Matrix>
struct shogun::linalg::implementation::max< Backend::NATIVE, Matrix >

Specialization of add for the Native backend.

在文件 Max.h82 行定义.

Public 类型

typedef Matrix::Scalar T
 

静态 Public 成员函数

static T compute (SGMatrix< T > mat)
 
static T compute (SGVector< T > vec)
 
static T compute (T *vec, index_t len)
 

成员类型定义说明

typedef Matrix::Scalar T

Scalar type

在文件 Max.h85 行定义.

成员函数说明

static T compute ( SGMatrix< T mat)
static

Returns the largest element in a matrix.

参数
matinput matrix
返回
largest value in the input matrix

在文件 Max.h92 行定义.

static T compute ( SGVector< T vec)
static

Returns the largest element in a vector.

参数
vecinput vector
返回
largest value in the input vector

在文件 Max.h103 行定义.

static T compute ( T vec,
index_t  len 
)
static

Returns the largest element in a vector or matrix passed as a pointer.

参数
vecinput vector or matrix
lenlength of the vector or matrix
返回
largest value in the input vector or matrix

在文件 Max.h115 行定义.


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

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