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