(vec1, vec2)
return vec1 ^ vec2
Cross product convenience wrapper for Vector.cross(): \n
Cross product convenience wrapper for Vector.cross(): \n
Cross product convenience wrapper for Vector . cross () : \ n
def cross(vec1, vec2):
    """Cross product convenience wrapper for Vector.cross(): \n"""
    if not isinstance(vec1, (Vector, Dyadic)):
        raise TypeError('Cross product is between two vectors')
    return vec1 ^ vec2
def cross ( vec1 , vec2 ) : if not isinstance ( vec1 , ( Vector , Dyadic ) ) : raise TypeError ( 'Cross product is between two vectors' ) return vec1 ^ vec2