Template Function librapid::exp(const Complex<T>&)#

Function Documentation#

template<typename T>
Complex<T> librapid::exp(const Complex<T> &other)#

Compute the complex exponential of a complex number.

This function computes the complex exponential of the input complex number, \( e^z \)

The algorithm handles NaN and infinity values.

Template Parameters

T – Scalar type of the complex number

Parameters

other – Input complex number

Returns

Complex exponential of the input complex number