Vector.dot_vectors
- static Vector.dot_vectors(left, right)[source]
Compute the dot product of two lists of vectors.
- Parameters
- Returns
list[float] – A list of dot products.
Examples
>>> Vector.dot_vectors([[1.0, 0.0, 0.0], [2.0, 0.0, 0.0]], [[1.0, 0.0, 0.0], [2.0, 0.0, 0.0]]) [1.0, 4.0]