Function tap::algorithms::complex_sqrt

Function Documentation

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

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

Parameters:

z[in] the complex number to calculate the square root of

Returns:

the square root of the complex number