Performs the equivalent of for COO.

Parameters:other (Union[COO, numpy.ndarray, scipy.sparse.spmatrix]) – The second operand of the dot product operation.
Returns:The result of the dot product. If the result turns out to be dense, then a dense array is returned, otherwise, a sparse array.
Return type:{COO, numpy.ndarray}

See also

Equivalent function for two arguments.
Numpy equivalent function.
Scipy equivalent function.


>>> x = np.arange(4).reshape((2, 2))
>>> s = COO.from_numpy(x)
array([[ 2,  3],
       [ 6, 11]], dtype=int64)