Function tap::algorithms::complex_abs

Function Documentation

constexpr double tap::algorithms::complex_abs(std::complex<double> z)

used to calculate the magnitude of a complex number, created for constexpr useage

Parameters:

z[in] the complex number to calculate the magnitude of

Returns:

the magnitude of the complex number