#NEWLINE# def dot( v1 , v2 ) : #NEWLINE# #INDENT# 'Computes the dot product of two vectors.\n    ' #NEWLINE# ( x1 , y1 , z1 ) = v1 #NEWLINE# ( x2 , y2 , z2 ) = z1 #NEWLINE# return ( ( ( x1 * x2 ) + ( y1 * y2 ) ) + ( z1 * z2 ) )