casa
$Rev:20696$
|
NumericTraits specialization for Float. More...
#include <NumericTraits.h>
Public Types | |
typedef Float | value_type |
Template argument. | |
typedef Float | BaseType |
Numeric type. | |
typedef Complex | ConjugateType |
Conjugate (real<->complex ) type. | |
typedef Double | PrecisionType |
Higher precision type (Float->Double ) | |
Static Public Member Functions | |
static uInt | size () |
Number of relevant numeric values. | |
static void | setImag (value_type &, const BaseType &) |
Set the imaginary part of a complex value only (a NOP for reals) | |
static BaseType | getValue (const value_type &other, const uInt) |
Get the nsize()-th numeric value. | |
static void | setValue (value_type &other, const BaseType &val, const uInt) |
Set the nsize()-th numeric value. | |
Static Public Attributes | |
static const Double & | epsilon |
Relevant minimum and maximum numbers. | |
static const Double & | minimum |
static const Double & | maximum |
NumericTraits specialization for Float.
Definition at line 256 of file NumericTraits.h.
typedef Float casa::NumericTraits_F< Float >::BaseType |
Numeric type.
Definition at line 261 of file NumericTraits.h.
typedef Complex casa::NumericTraits_F< Float >::ConjugateType |
Conjugate (real<->complex
) type.
Definition at line 263 of file NumericTraits.h.
typedef Double casa::NumericTraits_F< Float >::PrecisionType |
Higher precision type (Float->Double
)
Definition at line 265 of file NumericTraits.h.
typedef Float casa::NumericTraits_F< Float >::value_type |
Template argument.
Definition at line 259 of file NumericTraits.h.
static BaseType casa::NumericTraits_F< Float >::getValue | ( | const value_type & | other, |
const uInt | |||
) | [inline, static] |
Get the nsize()-th
numeric value.
Definition at line 277 of file NumericTraits.h.
static void casa::NumericTraits_F< Float >::setImag | ( | value_type & | , |
const BaseType & | |||
) | [inline, static] |
Set the imaginary part of a complex value only (a NOP for reals)
Definition at line 275 of file NumericTraits.h.
static void casa::NumericTraits_F< Float >::setValue | ( | value_type & | other, |
const BaseType & | val, | ||
const uInt | |||
) | [inline, static] |
Set the nsize()-th
numeric value.
Definition at line 280 of file NumericTraits.h.
static uInt casa::NumericTraits_F< Float >::size | ( | ) | [inline, static] |
Number of relevant numeric values.
Definition at line 273 of file NumericTraits.h.
const Double& casa::NumericTraits_F< Float >::epsilon [static] |
Relevant minimum and maximum numbers.
Definition at line 268 of file NumericTraits.h.
const Double& casa::NumericTraits_F< Float >::maximum [static] |
Definition at line 270 of file NumericTraits.h.
const Double& casa::NumericTraits_F< Float >::minimum [static] |
Definition at line 269 of file NumericTraits.h.