10 #ifndef EIGEN_NUMTRAITS_H 11 #define EIGEN_NUMTRAITS_H 20 bool use_numeric_limits = std::numeric_limits<T>::is_specialized,
24 static int run() {
return std::numeric_limits<T>::digits10; }
41 static int run() {
return 0; }
91 IsInteger = std::numeric_limits<T>::is_integer,
92 IsSigned = std::numeric_limits<T>::is_signed,
116 static inline int digits10()
122 static inline Real dummy_precision()
130 static inline T highest() {
135 static inline T lowest() {
140 static inline T infinity() {
141 return numext::numeric_limits<T>::infinity();
145 static inline T quiet_NaN() {
146 return numext::numeric_limits<T>::quiet_NaN();
193 template<
typename Scalar,
int Rows,
int Cols,
int Options,
int MaxRows,
int MaxCols>
208 RequireInitialization = 1,
226 RequireInitialization = 1,
235 static inline std::string
epsilon();
236 static inline std::string dummy_precision();
237 static inline std::string lowest();
238 static inline std::string highest();
239 static inline std::string infinity();
240 static inline std::string quiet_NaN();
248 #endif // EIGEN_NUMTRAITS_H NumTraits< Scalar >::NonInteger NonIntegerScalar
static EIGEN_DEVICE_FUNC Real dummy_precision()
Namespace containing all symbols from the Eigen library.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
static EIGEN_DEVICE_FUNC double dummy_precision()
NumTraits< _Real >::Literal Literal
EIGEN_DEVICE_FUNC const CeilReturnType ceil() const
static const Line3 l(Rot3(), 1, 1)
Array< Scalar, Rows, Cols, Options, MaxRows, MaxCols > ArrayType
static EIGEN_DEVICE_FUNC Real epsilon()
Eigen::Triplet< double > T
NumTraits< Scalar >::Real RealScalar
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
static EIGEN_DEVICE_FUNC RealScalar epsilon()
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static long double dummy_precision()
static EIGEN_DEVICE_FUNC RealScalar dummy_precision()
mp::number< mp::cpp_dec_float< 100 >, mp::et_on > Real
General-purpose arrays with easy API for coefficient-wise operations.
Array< NonIntegerScalar, Rows, Cols, Options, MaxRows, MaxCols > NonInteger
static EIGEN_DEVICE_FUNC float dummy_precision()
EIGEN_DEVICE_FUNC const Log10ReturnType log10() const
NumTraits< Scalar >::Literal Literal
Array< RealScalar, Rows, Cols, Options, MaxRows, MaxCols > Real
static EIGEN_DEVICE_FUNC int digits10()