returns modulus and argument (in \(\pi\) multiples) of the input.
#include <kyosu/functions.hpp>
{
template<kyosu::concepts::complex T>
constexpr T
to_polarpi(T z)
noexcept;
template<eve::
floating_value T>
constexpr T
to_polarpi(T z)
noexcept;
}
constexpr auto to_polarpi
returns modulus and argument (in multiples) of the input.
Definition: to_polarpi.hpp:71
Main KYOSU namespace.
Definition: cinf.hpp:13
Parameters
z: Value to put in polar coordinates.
Return value
Returns The kumi tuple {rho, theta}. for real and complex with theta in \(\pi\) multiples.