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

Detailed Description

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

Generic class which is specialized for different backends to compute matrix products

Definition at line 58 of file MatrixProduct.h.

Public Types

typedef Matrix::Scalar T
 

Static Public Member Functions

static void compute (Matrix A, Matrix B, Matrix C, bool transpose_A, bool transpose_B, bool overwrite)
 

Member Typedef Documentation

typedef Matrix::Scalar T

Scalar type

Definition at line 61 of file MatrixProduct.h.

Member Function Documentation

static void compute ( Matrix  A,
Matrix  B,
Matrix  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

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

SHOGUN Machine Learning Toolbox - Documentation