Back to Numerical Arrays (NumPy)
np.vdot
Compute the dot product of two vectors (flattened inputs).
Syntax
np.vdot(a, b)
Description
Compute the dot product of two vectors (flattened inputs). For complex arrays, the first argument is conjugated.
Parameters
| Name | Description |
|---|---|
| a | NDArray |
| b | NDArray |
Returns
Promise<number>