casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions | Static Public Attributes
casa::NumericTraits_C< Complex > Class Template Reference

NumericTraits specialization for Complex. More...

#include <NumericTraits.h>

List of all members.

Public Types

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

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<>
class casa::NumericTraits_C< Complex >

NumericTraits specialization for Complex.

Definition at line 330 of file NumericTraits.h.


Member Typedef Documentation

typedef Float casa::NumericTraits_C< Complex >::BaseType

Numeric type.

Definition at line 335 of file NumericTraits.h.

Conjugate (real<->complex) type.

Definition at line 337 of file NumericTraits.h.

typedef DComplex casa::NumericTraits_C< Complex >::PrecisionType

Higher precision type (Float->Double)

Definition at line 339 of file NumericTraits.h.

typedef Complex casa::NumericTraits_C< Complex >::value_type

Template argument.

Definition at line 333 of file NumericTraits.h.


Member Function Documentation

static BaseType casa::NumericTraits_C< Complex >::getValue ( const value_type other,
const uInt  n 
) [inline, static]

Get the nsize()-th numeric value.

Definition at line 352 of file NumericTraits.h.

static void casa::NumericTraits_C< Complex >::setImag ( value_type other,
const BaseType val 
) [inline, static]

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

Definition at line 349 of file NumericTraits.h.

static void casa::NumericTraits_C< Complex >::setValue ( value_type other,
const BaseType val,
const uInt  n 
) [inline, static]

Set the nsize()-th numeric value.

Definition at line 355 of file NumericTraits.h.

static uInt casa::NumericTraits_C< Complex >::size ( ) [inline, static]

Number of relevant numeric values.

Definition at line 347 of file NumericTraits.h.


Member Data Documentation

const Double& casa::NumericTraits_C< Complex >::epsilon [static]

Relevant minimum and maximum numbers.

Definition at line 342 of file NumericTraits.h.

const Double& casa::NumericTraits_C< Complex >::maximum [static]

Definition at line 344 of file NumericTraits.h.

const Double& casa::NumericTraits_C< Complex >::minimum [static]

Definition at line 343 of file NumericTraits.h.


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