dot¶
- sparse.dot(a, b)[source]¶
Perform the equivalent of
numpy.dot
on two arrays.- Parameters
a (Union[SparseArray, np.ndarray, scipy.sparse.spmatrix]) – The arrays to perform the
dot
operation on.b (Union[SparseArray, np.ndarray, scipy.sparse.spmatrix]) – The arrays to perform the
dot
operation on.
- Returns
The result of the operation.
- Return type
Union[SparseArray, numpy.ndarray]
- Raises
ValueError – If all arguments don’t have zero fill-values.