sigma  0.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::Uncertain< float > >
 Numeric traits for Uncertain<float> More...
 
struct  Eigen::NumTraits< sigma::Uncertain< double > >
 Numeric traits for Uncertain<double> More...
 

Namespaces

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

Macros

#define EIGEN_NUMTRAITS(float_type)
 Factorization for Eigen::NumTraits Specialization.
 

Detailed Description

Components for compatibility with Eigen.

Macro Definition Documentation

◆ EIGEN_NUMTRAITS

#define EIGEN_NUMTRAITS ( float_type)
Value:
\
template<> \
struct NumTraits<sigma::Uncertain<float_type>> : NumTraits<float_type> { \ \
using Uncertain = sigma::Uncertain<float_type>; \ \
using Real = Uncertain; \ \
using NonInteger = Uncertain; \ \
using Literal = Uncertain; \ \
using Nested = Uncertain; \
enum { \
IsComplex = 0, \
IsInteger = 0, \
IsSigned = 1, \
RequireInitialization = 1, \
ReadCost = 1, \
AddCost = 3, \
MulCost = 3 \
}; \
}
Models an unceratin variable.
Definition uncertain.hpp:33
The primary namespace for the sigma library.
Definition operation_common.hpp:10

Factorization for Eigen::NumTraits Specialization.