casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
casacore::NumericTraits_DC< DComplex > Class Template Reference

NumericTraits specialization for DComplex. More...

#include <NumericTraits.h>

Public Types

typedef DComplex value_type
 Template argument. More...
 
typedef Double BaseType
 Numeric type. More...
 
typedef Double ConjugateType
 Conjugate (real<->complex) type. More...
 
typedef DComplex PrecisionType
 Higher precision type (Float->Double) More...
 

Static Public Member Functions

static uInt size ()
 Number of relevant numeric values. More...
 
static void setImag (value_type &other, const BaseType &val)
 Set the imaginary part of a complex value only (a NOP for reals) More...
 
static BaseType getValue (const value_type &other, const uInt n)
 Get the nsize()-th numeric value. More...
 
static void setValue (value_type &other, const BaseType &val, const uInt n)
 Set the nsize()-th numeric value. More...
 

Static Public Attributes

static const Doubleepsilon
 Relevant minimum and maximum numbers. More...
 
static const Doubleminimum
 
static const Doublemaximum
 

Detailed Description

template<>
class casacore::NumericTraits_DC< DComplex >

NumericTraits specialization for DComplex.

Definition at line 369 of file NumericTraits.h.

Member Typedef Documentation

Numeric type.

Definition at line 374 of file NumericTraits.h.

Conjugate (real<->complex) type.

Definition at line 376 of file NumericTraits.h.

typedef DComplex casacore::NumericTraits_DC< DComplex >::PrecisionType

Higher precision type (Float->Double)

Definition at line 378 of file NumericTraits.h.

typedef DComplex casacore::NumericTraits_DC< DComplex >::value_type

Template argument.

Definition at line 372 of file NumericTraits.h.

Member Function Documentation

static BaseType casacore::NumericTraits_DC< DComplex >::getValue ( const value_type other,
const uInt  n 
)
inlinestatic

Get the nsize()-th numeric value.

Definition at line 391 of file NumericTraits.h.

static void casacore::NumericTraits_DC< DComplex >::setImag ( value_type other,
const BaseType val 
)
inlinestatic

Set the imaginary part of a complex value only (a NOP for reals)

Definition at line 388 of file NumericTraits.h.

static void casacore::NumericTraits_DC< DComplex >::setValue ( value_type other,
const BaseType val,
const uInt  n 
)
inlinestatic

Set the nsize()-th numeric value.

Definition at line 394 of file NumericTraits.h.

static uInt casacore::NumericTraits_DC< DComplex >::size ( )
inlinestatic

Number of relevant numeric values.

Definition at line 386 of file NumericTraits.h.

Member Data Documentation

const Double& casacore::NumericTraits_DC< DComplex >::epsilon
static

Relevant minimum and maximum numbers.

Definition at line 381 of file NumericTraits.h.

const Double& casacore::NumericTraits_DC< DComplex >::maximum
static

Definition at line 383 of file NumericTraits.h.

const Double& casacore::NumericTraits_DC< DComplex >::minimum
static

Definition at line 382 of file NumericTraits.h.


The documentation for this class was generated from the following file: