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

详细描述

template<enum Backend, class Vector>
struct shogun::linalg::implementation::vector_sum< Backend, Vector >

Generic class vector_sum which provides a static compute method. This class is specialized for different types of vectors and backend, providing a mean to deal with various vectors directly without having to convert.

在文件 VectorSum.h67 行定义.

Public 类型

typedef Vector::Scalar T
 

静态 Public 成员函数

static T compute (Vector a)
 

成员类型定义说明

typedef Vector::Scalar T

Scalar type

在文件 VectorSum.h70 行定义.

成员函数说明

static T compute ( Vector  a)
static

Method that computes the vector sum

参数
avector whose sum has to be computed
返回
the vector sum \(\sum_i a_i\)

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

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