Skip to content

function cabs(const T1 &) complex

template <numeric T1>
KFR_FUNCTION realtype<T1> cabs(const T1& x)

Returns the absolute value (magnitude) of the complex number x

Defined at math/complex_math.hpp:256