Vector.angles_vectors

static Vector.angles_vectors(left, right)[source]

Compute both angles between corresponding pairs of two lists of vectors.

Parameters
Returns

list[float] – A list of angle pairs.

Examples

>>> Vector.angles_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, 4.71238898038469), (1.5707963267948966, 4.71238898038469)]