Vector.cross_vectors
- static Vector.cross_vectors(left, right)[source]
Compute the cross product of two lists of vectors.
- Parameters
left (list) – A list of vectors.
right (list) – A list of vectors.
- Returns
list – A list of cross products.
Examples
>>> Vector.cross_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]]) [Vector(0.000, 0.000, 1.000), Vector(0.000, -4.000, 0.000)]