Back to Numerical Arrays (NumPy)
np.multi_dot
Compute the dot product of two or more arrays in a single function call,
Syntax
np.multi_dot(arrays)
Description
Compute the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. Uses dynamic programming to find the optimal parenthesization that minimizes the total number of scalar multiplications.
Parameters
| Name | Description |
|---|---|
| arrays | - List of arrays to multiply together |
Returns
Promise<NDArray>