vecdot
- sparse.vecdot(x1, x2, /, *, axis=-1)[source]
Computes the (vector) dot product of two arrays.
- Parameters:
x1 (array_like) – Input sparse arrays
x2 (array_like) – Input sparse arrays
axis (int) – The axis to reduce over.
- Returns:
out – Sparse or 0-D array containing dot product.
- Return type:
Union[SparseArray, numpy.ndarray]