Skip to content

num::scalars::mag

Defined in header <algebra/scalar.hpp>

template <class T>
real_t<T> mag(const T &x) noexcept;

Modulus \(|x|\), uniform over real and complex fields.