Copyright | [2017] Trevor L. McDonell |
---|---|
License | BSD3 |
Maintainer | Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Level 3 (matrix-matrix) BLAS operations.
Documentation
Many operations allow you to implicitly transpose the arguments. For
a given input matrix mat
with dimensions Z :. m :. n
(that is; m
rows
and n
columns):
N | Leave the matrix as is. |
T | Treat the matrix as implicitly transposed, with dimensions |
H | Implicitly transpose and conjugate the input matrix. For complex-valued
matrices a given element |
:: Numeric e | |
=> Exp e | \( \alpha \) |
-> Transpose | operation to apply to A |
-> Acc (Matrix e) | A |
-> Transpose | operation to apply to B |
-> Acc (Matrix e) | B |
-> Acc (Matrix e) | C |
General matrix-matrix multiply
\[ C = \alpha * \mathrm{op}(A) * \mathrm{op}(B) \]
where:
shape
\(\mathrm{op}(A)\)= Z :. m :. k
shape
\(\mathrm{op}(B)\)= Z :. k :. n
shape
\(C\)= Z :. m :. n
https://software.intel.com/en-us/mkl-developer-reference-c-cblas-gemm