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.
|
static void | compute (Matrix A, Matrix B, Matrix C, bool transpose_A, bool transpose_B, bool overwrite) |
|
static void compute |
( |
Matrix |
A, |
|
|
Matrix |
B, |
|
|
Matrix |
C, |
|
|
bool |
transpose_A, |
|
|
bool |
transpose_B, |
|
|
bool |
overwrite |
|
) |
| |
|
static |
Performs matrix multiplication
- Parameters
-
A | First matrix |
B | Second matrix |
C | Result of the operation |
transpose_A | Whether to the transpose of A should be used instead of A |
transpose_B | Whether to the transpose of B should be used instead of B |
overwrite | If 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: