Back to Linear Algebra
gemm
General matrix-matrix multiply. Computes A * B.
Syntax
gemm(A, B) → r
Backends
TypeScriptOpenBLASNative BinaryWebAssembly
Description
General matrix-matrix multiply. Computes A * B.
Parameters
| Name | Description |
|---|---|
| A | Left matrix |
| B | Right matrix |
Returns
Product matrix
Examples
Try It
>> gemm([1, 2; 3, 4], [5, 6; 7, 8])