def cross(vec1, vec2):
    if not isinstance(vec1, (Vector, Dyadic)):
        raise TypeError('Cross product is between two vectors')
    return vec1 ^ vec2
Cross product convenience wrapper for Vector.cross():
dataset/ETHPy150Open sympy/sympy/sympy/physics/vector/functions.py/cross