Holds information about the various numeric (i.e. scalar) types allowed by Eigen. More...
#include <NumTraits.h>
Classes | |
struct | wrong_type |
Public Types | |
enum | { IsComplex = 0, HasFloatingPoint = 0, ReadCost = 0, AddCost = 0, MulCost = 0 } |
typedef wrong_type | FloatingPoint |
typedef wrong_type | Real |
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. Definition at line 88 of file NumTraits.h.
typedef wrong_type Eigen::NumTraits< T >::FloatingPoint |
typedef wrong_type Eigen::NumTraits< T >::Real |
Reimplemented from Eigen::GenericNumTraits< T >.
anonymous enum |