SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Types | Static Public Member Functions
dot< Backend::EIGEN3, Vector > Struct Template Reference

Detailed Description

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

Specialization of generic dot for the Eigen3 backend.

Definition at line 84 of file Dot.h.

Public Types

typedef Vector::Scalar T
 

Static Public Member Functions

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

Member Typedef Documentation

typedef Vector::Scalar T

Scalar type

Definition at line 87 of file Dot.h.

Member Function Documentation

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

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

Parameters
afirst vector
bsecond vector
Returns
the dot product of \(\mathbf{a}\) and \(\mathbf{b}\), computed as \(\sum_i a_i b_i\)

Definition at line 97 of file Dot.h.


The documentation for this struct was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation