common/math3d.py
def dot(cls, vect1, vect2):
        """Returns the dot product between two Vectors"""
        if len(vect1) == len(vect2):
            return sum(vect1[i]*vect2[i] for i in range((len(vect1))))
        raise DimentionMissmatchException()
Returns the dot product between two Vectors
Returns the dot product between two Vectors
Returns the dot product between two Vectors
def dot(cls, vect1, vect2):
        if len(vect1) == len(vect2):
            return sum(vect1[i]*vect2[i] for i in range((len(vect1))))
        raise DimentionMissmatchException()
def dot ( cls , vect1 , vect2 ) : if len ( vect1 ) == len ( vect2 ) : return sum ( vect1 [ i ] * vect2 [ i ] for i in range ( ( len ( vect1 ) ) ) ) raise DimentionMissmatchException ( )
Returns the dot product between two Vectors
Returns the dot product between two Vectors
"""Returns the dot product between two Vectors"""
cls
vect1
vect2