def cross(a, b, axisa=-1, axisb=-1, axisc=-1, axis=None): '''Cross product of two (arrays of vectors) a -- first vector b -- second vector axisa -- axis of a that defines the vector(s) axisb -- axis of b that defines the vector(s) axisc -- axis of c that will contain the cross product(s) axis -- override all values of axis values ''' if axis is not None: axisa = axisb = axisc = axis return _linalg.crossProduct(a, b, axisa, axisb, axisc)