getReal() * $complex->getReal()) + ($complex->getImaginary() * $complex->getImaginary()) ); } }