Produto cruzado de computação python
import numpy as np
#define vectors
A = np.array([1, 2, 3])
B = np.array([4, 5, 6])
#calculate cross product of vectors A and B
np.cross(A, B)
[-3, 6, -3]
Zhouyang Hong