|
SHOGUN
4.2.0
|
Generic class which is specialized for different backends to perform addition.
Public Types | |
| typedef Matrix::Scalar | T |
Static Public Member Functions | |
| static void | compute (Matrix A, Matrix B, Matrix C, T alpha, T beta) |
Performs the operation C = alpha*A + beta*B. Works for both matrices and vectors
| A | first matrix |
| B | second matrix |
| C | matrix to store the result |
| alpha | constant to be multiplied by the first matrix |
| beta | constant to be multiplied by the second matrix |