Holds information about the various numeric (i.e.
scalar) types allowed by Eigen.
| T | the numeric type at hand |
This class stores enums, typedefs and static methods giving information about a numeric type.
The provided data consists of:
std::complex<U> then Real is a typedef to U. std::complex type, and to 0 otherwise. 1 if T is an integer type such as int, and to 0 otherwise. 1 if T is a signed type and to 0 if T is unsigned. 1 if the constructor of the numeric type T must be called, and to 0 if it is safe not to call it. Default is 0 if T is an arithmetic type, and 1 otherwise. 
Public Types | |
| enum | { IsInteger = std::numeric_limits<T>::is_integer, IsSigned = std::numeric_limits<T>::is_signed, IsComplex = 0, RequireInitialization = internal::is_arithmetic<T>::value ? 0 : 1, ReadCost = 1, AddCost = 1, MulCost = 1 } |
| typedef T | Real |
typedef T Eigen::GenericNumTraits< T >::Real [inherited] |
Reimplemented in Eigen::NumTraits< std::complex< _Real > >, and Eigen::NumTraits< mpfr::mpreal >.
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |