nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java
public static IComplexNumber exp(IComplexNumber d) {
        if (d instanceof IComplexFloat)
            return exp((IComplexFloat) d);
        return exp((IComplexDouble) d);
    }
public static IComplexNumber exp(IComplexNumber d) {
        if (d instanceof IComplexFloat)
            return exp((IComplexFloat) d);
        return exp((IComplexDouble) d);
    }
public static IComplexNumber exp ( IComplexNumber d ) { if ( d instanceof IComplexFloat ) return exp ( ( IComplexFloat ) d ) ; return exp ( ( IComplexDouble ) d ) ; }
Returns the exp of a complex number:
Let r be the realComponent component and i be the imaginary
Let ret be the complex number returned
ret -> exp(r) * cos(i), exp(r) * sin(i)
where the first number is the realComponent component
and the second number is the imaginary component

@param d the number to getFromOrigin the exp of
@return the exponential of this complex number
Returns the exp of a complex number : Let r be the realComponent component and i be the imaginary Let ret be the complex number returned ret - > exp ( r ) * cos ( i ) exp ( r ) * sin ( i ) where the first number is the realComponent component and the second number is the imaginary component