vendor/markbaker/complex/classes/src/functionsexp.php

Function code for the complex exp() function

Functions

exp()

exp(\Complex\Complex|mixed  $complex) : \Complex\Complex

Returns the exponential of a complex number.

Parameters

\Complex\Complex|mixed $complex

Complex number or a numeric value.

Throws

\Complex\Exception

If argument isn't a valid real or complex number.

Returns

\Complex\Complex

The exponential of the complex argument.