def cross(v1, v2):
    return (
        v1[1] * v2[2] - v1[2] * v2[1],
        v1[2] * v2[0] - v1[0] * v2[2],
        v1[0] * v2[1] - v1[1] * v2[0],
    )
Computes the cross product of two vectors.
dataset/ETHPy150Open fogleman/pg/pg/util.py/cross