10 #ifndef EIGEN_NUMTRAITS_H 11 #define EIGEN_NUMTRAITS_H 71 static inline Real
epsilon() {
return std::numeric_limits<T>::epsilon(); }
72 static inline Real dummy_precision()
77 static inline T highest() {
return (std::numeric_limits<T>::max)(); }
78 static inline T lowest() {
return IsInteger ? (std::numeric_limits<T>::min)() : (-(std::numeric_limits<T>::max)()); }
82 HasFloatingPoint = !IsInteger
84 typedef NonInteger FloatingPoint;
124 template<
typename Scalar,
int Rows,
int Cols,
int Options,
int MaxRows,
int MaxCols>
150 #endif // EIGEN_NUMTRAITS_H NumTraits< Scalar >::NonInteger NonIntegerScalar
static double dummy_precision()
static Real dummy_precision()
static RealScalar dummy_precision()
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
static float dummy_precision()
static RealScalar epsilon()
Array< Scalar, Rows, Cols, Options, MaxRows, MaxCols > ArrayType
NumTraits< Scalar >::Real RealScalar
static long double dummy_precision()
General-purpose arrays with easy API for coefficient-wise operations.
Array< NonIntegerScalar, Rows, Cols, Options, MaxRows, MaxCols > NonInteger
Array< RealScalar, Rows, Cols, Options, MaxRows, MaxCols > Real