Vector.angle_vectors
-
static
Vector.
angle_vectors
(left, right)[source] Compute the smallest angle between corresponding pairs of two lists of vectors.
- Parameters
left (list) – A list of vectors.
right (list) – A list of vectors.
- Returns
list – A list of angles.
Examples
>>> Vector.angle_vectors([[1.0, 0.0, 0.0], [2.0, 0.0, 0.0]], [[0.0, 1.0, 0.0], [0.0, 0.0, 2.0]]) [1.5707963267948966, 1.5707963267948966]