SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
add< Backend::EIGEN3, Matrix > Struct Template Reference

Detailed Description

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

Specialization of add for the Eigen3 backend

Definition at line 73 of file Add.h.

Public Types

typedef Matrix::Scalar T
typedef Eigen::Matrix< T,
Eigen::Dynamic, Eigen::Dynamic > 
MatrixXt
typedef Eigen::Matrix< T,
Eigen::Dynamic, 1 > 
VectorXt

Static Public Member Functions

static void compute (SGMatrix< T > A, SGMatrix< T > B, SGMatrix< T > C, T alpha, T beta)
static void compute (SGVector< T > A, SGVector< T > B, SGVector< T > C, T alpha, T beta)

Member Typedef Documentation

typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt

Definition at line 76 of file Add.h.

typedef Matrix::Scalar T

Definition at line 75 of file Add.h.

typedef Eigen::Matrix<T,Eigen::Dynamic,1> VectorXt

Definition at line 77 of file Add.h.

Member Function Documentation

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

Performs the operation C = alpha*A + beta*B

Definition at line 80 of file Add.h.

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

Performs the operation C = alpha*A + beta*B

Definition at line 91 of file Add.h.


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

SHOGUN Machine Learning Toolbox - Documentation