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

Function Documentation#

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

Compute the complex arc tangent of a complex number.

This function computes the complex arc tangent of the input complex number, \( \text{atan}(z) \)

The algorithm handles NaN and infinity values, and avoids overflow.

Template Parameters

T – Scalar type of the complex number

Parameters

other – Input complex number

Returns

Complex arc tangent of the input complex number