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

Detailed Description

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

Specialization of generic vector_sum for the Eigen3 backend.

Definition at line 83 of file VectorSum.h.

Public Types

typedef Vector::Scalar T
 

Static Public Member Functions

static T compute (SGVector< T > vec)
 

Member Typedef Documentation

typedef Vector::Scalar T

Scalar type

Definition at line 86 of file VectorSum.h.

Member Function Documentation

static T compute ( SGVector< T vec)
static

Method that computes the sum of SGVectors using Eigen3

Parameters
veca vector whose sum has to be computed
Returns
the vector sum \(\sum_i a_i\)

Definition at line 94 of file VectorSum.h.


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

SHOGUN Machine Learning Toolbox - Documentation