Skip to content

num::scalars::re

Defined in header <algebra/scalar.hpp>

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

Return the real part: \(\mathrm{Re}(x)\); the identity on reals.