public static function fromPolar(Real $modulus, Real $argument)
    {
        $realValue = $modulus->toNative() * \cos($argument->toNative());
        $imValue   = $modulus->toNative() * \sin($argument->toNative());
        $real      = new Real($realValue);
        $im        = new Real($imValue);
        $complex   = new self($real, $im);

        return $complex;
    }
public static function fromPolar(Real $modulus, Real $argument)
    {
        $realValue = $modulus->toNative() * \cos($argument->toNative());
        $imValue   = $modulus->toNative() * \sin($argument->toNative());
        $real      = new Real($realValue);
        $im        = new Real($imValue);
        $complex   = new self($real, $im);

        return $complex;
    }
public static function fromPolar ( Real $ modulus , Real $ argument ) { $ realValue = $ modulus -> toNative ( ) * \ cos ( $ argument -> toNative ( ) ) ; $ imValue = $ modulus -> toNative ( ) * \ sin ( $ argument -> toNative ( ) ) ; $ real = new Real ( $ realValue ) ; $ im = new Real ( $ imValue ) ; $ complex = new self ( $ real , $ im ) ; return $ complex ; }
Returns a Complex given polar coordinates

@param  Real    $modulus
@param  Real    $argument
@return Complex
Returns a Complex given polar coordinates