Holds some data about the various numeric (i.e. scalar) types allowed by Eigen. More...
#include <NumTraits.h>
Holds some data about the various numeric (i.e. scalar) types allowed by Eigen.
| T | the numeric type about which this class provides data. Recall that Eigen allows only the following types for T: int, float, double, std::complex<float>, std::complex<double>, and long double (especially useful to enforce x87 arithmetics when SSE is the default). |
The provided data consists of:
std::complex<U> then Real is a typedef to U. int, then FloatingPoint is a typedef to double. Otherwise, FloatingPoint is a typedef to T. std::complex type, and to 0 otherwise. 0 if T is int, and to 1 otherwise.