Either input can be an array of 3- (or 2-) element vectors.
>>> a=np.array([[1,0,0],[0,1,0],[0,0,1]])
>>> b=np.array([1,0,0])
>>> np.cross(a,b)
array([[ 0,  0,  0],
       [ 0,  0, -1],
       [ 0,  1,  0]])
The result in this case is array([np.cross(a[0],b), np.c...