Template Function librapid::acos(const Complex<T>&)#
Defined in File complex.hpp
Function Documentation#
-
template<typename T>
Complex<T> librapid::acos(const Complex<T> &other)# Compute the complex arc cosine of a complex number.
This function computes the complex arc cosine of the input complex number, \(\text{acos}(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 cosine of the input complex number