casacore
Loading...
Searching...
No Matches
casacore::NumericTraits< Double > Class Reference

A specialisation for T=Double of the NumericTraits class. More...

#include <NumericTraits2.h>

Public Types

typedef DComplex ConjugateType
typedef Double PrecisionType
typedef Double value_type
 Template argument.
typedef Char BaseType
 Numeric type.

Static Public Member Functions

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

Static Public Attributes

static const Doubleepsilon
static const Doubleminimum
static const Doublemaximum

Detailed Description

A specialisation for T=Double of the NumericTraits class.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Definition at line 49 of file NumericTraits2.h.

Member Typedef Documentation

◆ BaseType

typedef Char casacore::NumericTraits< Double >::BaseType

Numeric type.

Definition at line 226 of file NumericTraits.h.

◆ ConjugateType

typedef DComplex casacore::NumericTraits< Double >::ConjugateType

Definition at line 51 of file NumericTraits2.h.

◆ PrecisionType

typedef Double casacore::NumericTraits< Double >::PrecisionType

Definition at line 52 of file NumericTraits2.h.

◆ value_type

typedef Double casacore::NumericTraits< Double >::value_type

Template argument.

Definition at line 224 of file NumericTraits.h.

Member Function Documentation

◆ getValue()

BaseType casacore::NumericTraits< Double >::getValue ( const Double & ,
const uInt  )
inlinestatic

Get the nsize()-th numeric value.

Definition at line 242 of file NumericTraits.h.

◆ setImag()

void casacore::NumericTraits< Double >::setImag ( Double & ,
const BaseType &  )
inlinestatic

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

Definition at line 240 of file NumericTraits.h.

◆ setValue()

void casacore::NumericTraits< Double >::setValue ( Double & ,
const BaseType & ,
const uInt  )
inlinestatic

Set the nsize()-th numeric value.

Definition at line 244 of file NumericTraits.h.

◆ size()

uInt casacore::NumericTraits< Double >::size ( )
inlinestatic

Number of relevant numeric values.

Definition at line 238 of file NumericTraits.h.

Member Data Documentation

◆ epsilon

const Double& casacore::NumericTraits< Double >::epsilon
static

Definition at line 53 of file NumericTraits2.h.

◆ maximum

const Double& casacore::NumericTraits< Double >::maximum
static

Definition at line 55 of file NumericTraits2.h.

◆ minimum

const Double& casacore::NumericTraits< Double >::minimum
static

Definition at line 54 of file NumericTraits2.h.


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