template<typename number>
struct numbers::NumberTraits< number >
A structure that, together with its partial specializations NumberTraits<std::complex<number> >, provides traits and member functions that make it possible to write templates that work on both real number types and complex number types. This template is mostly used to implement linear algebra classes such as vectors and matrices that work for both real and complex numbers.
Definition at line 414 of file numbers.h.
template<typename number >
For this data type, alias the corresponding real type. Since the general template is selected for all data types that are not specializations of std::complex<T>, the underlying type must be real- values, so the real_type is equal to the underlying type.
Definition at line 429 of file numbers.h.