SHOGUN  4.1.0
 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<class Matrix>
struct shogun::linalg::implementation::matrix_product< Backend::EIGEN3, Matrix >

Specialization of matrix_product for the Eigen3 backend

Definition at line 83 of file MatrixProduct.h.

Public Types

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

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

Eigen3 matrix type

Definition at line 89 of file MatrixProduct.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 86 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 

Performs matrix multiplication

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 101 of file MatrixProduct.h.

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

SHOGUN Machine Learning Toolbox - Documentation