matmul¶
-
sparse.matmul(a, b)[source]¶ Perform the equivalent of
numpy.matmulon two arrays.- Parameters
b (a,) – The arrays to perform the
matmuloperation on.- Returns
The result of the operation.
- Return type
Union[COO, numpy.ndarray]
- Raises
ValueError – If all arguments don’t have zero fill-values, or the shape of the two arrays is not broadcastable.
See also
numpy.matmul()NumPy equivalent function.
COO.__matmul__()Equivalent function for COO objects.