sigma  1.0.0
Loading...
Searching...
No Matches
eigen_compat.hpp File Reference

Components for compatibility with Eigen. More...

#include <Eigen/Dense>

Go to the source code of this file.

Classes

struct  Eigen::NumTraits< sigma::Interval< float > >
 Numeric traits for Interval<float>. More...
struct  Eigen::NumTraits< sigma::Interval< double > >
 Numeric traits for Interval<double>. More...
struct  Eigen::NumTraits< sigma::GeneralInterval< float > >
 Numeric traits for GeneralInterval<float>. More...
struct  Eigen::NumTraits< sigma::GeneralInterval< double > >
 Numeric traits for GeneralInterval<double>. More...

Namespaces

namespace  sigma
 The primary namespace for the sigma library.
namespace  Eigen
 The namespace of the Eigen library.

Macros

#define EIGEN_NUMTRAITS(interval_type, float_type)
 Factorization for Eigen::NumTraits Specialization for Interval and GeneralInterval.

Detailed Description

Components for compatibility with Eigen.

Macro Definition Documentation

◆ EIGEN_NUMTRAITS

#define EIGEN_NUMTRAITS ( interval_type,
float_type )
Value:
\
template<> \
struct NumTraits<sigma::interval_type<float_type>> \
: NumTraits<float_type> { \ \
using Interval = sigma::interval_type<float_type>; \ \
using Real = Interval; \ \
using NonInteger = Interval; \ \
using Literal = Interval; \ \
using Nested = Interval; \
enum { \
IsComplex = 0, \
IsInteger = 0, \
IsSigned = 1, \
RequireInitialization = 1, \
ReadCost = 1, \
AddCost = 3, \
MulCost = 3 \
}; \
}
The primary namespace for the sigma library.
Definition affine.hpp:12

Factorization for Eigen::NumTraits Specialization for Interval and GeneralInterval.