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

详细描述

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

Specialization of scale for the Native backend

在文件 Scale.h71 行定义.

Public 类型

typedef Matrix::Scalar T
 

静态 Public 成员函数

static void compute (SGMatrix< T > A, SGMatrix< T > B, T alpha)
 
static void compute (SGVector< T > A, SGVector< T > B, T alpha)
 
static void compute (T *A, T *B, index_t len, T alpha)
 

成员类型定义说明

typedef Matrix::Scalar T

在文件 Scale.h73 行定义.

成员函数说明

static void compute ( SGMatrix< T A,
SGMatrix< T B,
T  alpha 
)
static

Performs the operation B = alpha*A

在文件 Scale.h76 行定义.

static void compute ( SGVector< T A,
SGVector< T B,
T  alpha 
)
static

Performs the operation B = alpha*A

在文件 Scale.h86 行定义.

static void compute ( T A,
T B,
index_t  len,
T  alpha 
)
static

Performs the operation B = alpha*A for len elements

在文件 Scale.h95 行定义.


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

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