Template Function librapid::arg#

Function Documentation#

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

Return the phase angle of a complex value as a real.

This function calls \( \text{atan2}(\text{imag}(z), \text{real}(z)) \).

See also

atan2

Template Parameters

T – Scalar type

Parameters

otherComplex number

Returns

\( \arg(z) \)