|
SHOGUN
4.1.0
|
Partial specialization of add for the Native backend.
Public Types | |
| typedef Matrix::Scalar | T |
Static Public Member Functions | |
| static SGMatrix< T > | compute (SGMatrix< T > A, SGMatrix< T > B, T alpha=1, T beta=1) |
| static void | compute (SGMatrix< T > A, SGMatrix< T > B, SGMatrix< T > C, T alpha=1, T beta=1) |
| static SGVector< T > | compute (SGVector< T > A, SGVector< T > B, T alpha=1, T beta=1) |
| static void | compute (SGVector< T > A, SGVector< T > B, SGVector< T > C, T alpha=1, T beta=1) |
| static void | compute (T *A, T *B, T *C, T alpha, T beta, index_t len) |
Performs the operation C = alpha*A + beta*B. Vectors or Matrices passed as pointers
| A | first vector |
| B | second vector |
| C | vector to store the result |
| alpha | constant to be multiplied by the first vector |
| beta | constant to be multiplied by the second vector |
| len | length of the vectors/matrices |