7#ifdef ENABLE_EIGEN_SUPPORT
23#define EIGEN_NUMTRAITS(float_type) \
26 struct NumTraits<sigma::Affine<float_type>> : NumTraits<float_type> { \
28 using Affine = sigma::Affine<float_type>; \
30 using Real = Affine; \
32 using NonInteger = Affine; \
34 using Literal = Affine; \
36 using Nested = Affine; \
41 RequireInitialization = 1, \
49 struct NumTraits<sigma::ThresholdedAffine<float_type>> \
50 : NumTraits<float_type> { \
52 using Affine = sigma::ThresholdedAffine<float_type>; \
54 using Real = Affine; \
56 using NonInteger = Affine; \
58 using Literal = Affine; \
60 using Nested = Affine; \
65 RequireInitialization = 1, \
#define EIGEN_NUMTRAITS(float_type)
Factorization for Eigen::NumTraits Specialization for Affine.
Definition eigen_compat.hpp:23
Implements affine arithmetic.
Definition affine.hpp:48
Implements affine arithmetic that drops negligible error terms.
Definition thresholded_affine.hpp:29
The namespace of the Eigen library.
The primary namespace for the sigma library.
Definition affine.hpp:12