dot
Perform the equivalent of numpy.dot
on two arrays.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a
|
Union[SparseArray, ndarray, spmatrix]
|
The arrays to perform the |
required |
b
|
Union[SparseArray, ndarray, spmatrix]
|
The arrays to perform the |
required |
Returns:
Type | Description |
---|---|
Union[SparseArray, ndarray]
|
The result of the operation. |
Raises:
Type | Description |
---|---|
ValueError
|
If all arguments don't have zero fill-values. |
See Also
numpy.dot
: NumPy equivalent function.sparse.COO.dot
: Equivalent function for COO objects.
Source code in sparse/numba_backend/_common.py
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 |
|