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
matrix_product< Backend::EIGEN3, Matrix > Struct Template Reference

Detailed Description

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

Specialization of matrix_product for the Eigen3 backend

Definition at line 81 of file MatrixProduct.h.

Public Types

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

Static Public Member Functions

static void compute (SGMatrix< T > A, SGMatrix< T > B, SGMatrix< T > C, bool transpose_A, bool transpose_B, bool overwrite)

Member Typedef Documentation

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

Definition at line 84 of file MatrixProduct.h.

typedef Matrix::Scalar T

Definition at line 83 of file MatrixProduct.h.

Member Function Documentation

static void compute ( SGMatrix< T A,
SGMatrix< T B,
SGMatrix< T C,
bool  transpose_A,
bool  transpose_B,
bool  overwrite 
)
static

Performs matrix multiplication

Parameters
AFirst matrix
BSecond matrix
CResult of the operation
transpose_AWhether to the transpose of A should be used instead of A
transpose_BWhether to the transpose of B should be used instead of B
overwriteIf true, the values in C are overwritten with the result, otherwise, the result is added to the existing values

Definition at line 96 of file MatrixProduct.h.


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

SHOGUN Machine Learning Toolbox - Documentation