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

详细描述

template<class Vector>
struct shogun::linalg::implementation::dot< Backend::EIGEN3, Vector >

Specialization of generic dot for the Eigen3 backend.

在文件 Dot.h128 行定义.

Public 类型

typedef Vector::Scalar T
 

静态 Public 成员函数

static T compute (shogun::SGVector< T > a, shogun::SGVector< T > b)
 

成员类型定义说明

typedef Vector::Scalar T

Scalar type

在文件 Dot.h131 行定义.

成员函数说明

static T compute ( shogun::SGVector< T a,
shogun::SGVector< T b 
)
static

Method that computes the dot product of SGVectors/GPUVectors using Eigen3

参数
afirst vector
bsecond vector
返回
the dot product of \(\mathbf{a}\) and \(\mathbf{b}\), computed as \(\sum_i a_i b_i\)

在文件 Dot.h141 行定义.


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

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