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

详细描述

template<enum Backend, class Matrix>
struct shogun::linalg::implementation::add< Backend, Matrix >

Generic class which is specialized for different backends to perform addition

在文件 Add.h60 行定义.

Public 类型

typedef Matrix::Scalar T
 

静态 Public 成员函数

static void compute (Matrix A, Matrix B, Matrix C, T alpha, T beta)
 

成员类型定义说明

typedef Matrix::Scalar T

Scalar type

在文件 Add.h63 行定义.

成员函数说明

static void compute ( Matrix  A,
Matrix  B,
Matrix  C,
T  alpha,
T  beta 
)
static

Performs the operation C = alpha*A + beta*B. Works for both matrices and vectors


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

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