nums.numpy.matmul
-
nums.numpy.
matmul
(x1, x2)[source] Matrix product of two arrays.
This docstring was copied from numpy.matmul.
Some inconsistencies with the NumS version may exist.
- Parameters
x1 (BlockArray) – Input arrays, scalars not allowed.
x2 (BlockArray) – Input arrays, scalars not allowed.
- Returns
y – The matrix product of the inputs. This is a scalar only when both x1, x2 are 1-d vectors.
- Return type
- Raises
ValueError – If the last dimension of a is not the same size as the second-to-last dimension of b. If a scalar value is passed in.