def getDotProduct(firstComplex, secondComplex):
 return ((firstComplex.real * secondComplex.real) + (firstComplex.imag * secondComplex.imag))

def getDotProduct ( firstComplex , secondComplex ) : return ( ( firstComplex . real * secondComplex . real ) + ( firstComplex . imag * secondComplex . imag ) )
get the dot product of a pair of complexes .