/home/techb158/ileadtechnology.com/SSM/vendor/markbaker/complex/classes/src/operations
NameSizeModeActions
add.php12900644editdlrm
divideby.php17910644editdlrm
divideinto.php17870644editdlrm
multiply.php14400644editdlrm
subtract.php13080644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/markbaker/complex/classes/src/operations/multiply.php (1440B)
isComplex() && $complex->isComplex() && $result->getSuffix() !== $complex->getSuffix()) { throw new Exception('Suffix Mismatch'); } $real = ($result->getReal() * $complex->getReal()) - ($result->getImaginary() * $complex->getImaginary()); $imaginary = ($result->getReal() * $complex->getImaginary()) + ($result->getImaginary() * $complex->getReal()); $result = new Complex( $real, $imaginary, ($imaginary == 0.0) ? null : max($result->getSuffix(), $complex->getSuffix()) ); } return $result; }