NTraits< complex< R > > Class Template Reference

#include <NTraits.h>

Inheritance diagram for NTraits< complex< R > >:

CNT< complex< R > > List of all members.

Detailed Description

template<class R>
class SimTK::NTraits< complex< R > >

Partial specialization for complex numbers -- underlying real R is still a template parameter.


Public Types

typedef C T
typedef negator< C > TNeg
typedef C TWithoutNegator
typedef R TReal
typedef R TImag
typedef C TComplex
typedef conjugate< R > THerm
typedef C TPosTrans
typedef R TSqHermT
typedef R TSqTHerm
typedef C TElement
typedef C TRow
typedef C TCol
typedef R TAbs
typedef C TStandard
typedef C TInvert
typedef C TNormalize
typedef C Scalar
typedef C Number
typedef C StdNumber
typedef R Precision
typedef R ScalarSq
 NRows = 1
 NCols = 1
 RowSpacing = 1
 ColSpacing = 1
 NPackedElements = 1
 NActualElements = 1
 NActualScalars = 1
 ImagOffset = 1
 RealStrideFactor = 2
 ArgDepth = SCALAR_DEPTH
 IsScalar = 1
 IsNumber = 1
 IsStdNumber = 1
 IsPrecision = 0
 SignInterpretation = 1
enum  {
  NRows = 1, NCols = 1, RowSpacing = 1, ColSpacing = 1,
  NPackedElements = 1, NActualElements = 1, NActualScalars = 1, ImagOffset = 1,
  RealStrideFactor = 2, ArgDepth = SCALAR_DEPTH, IsScalar = 1, IsNumber = 1,
  IsStdNumber = 1, IsPrecision = 0, SignInterpretation = 1
}

Static Public Member Functions

static const TgetData (const T &t)
static TupdData (T &t)
static const R & real (const T &t)
static R & real (T &t)
static const R & imag (const T &t)
static R & imag (T &t)
static const TNegnegate (const T &t)
static TNegnegate (T &t)
static const THermtranspose (const T &t)
static THermtranspose (T &t)
static const TPosTranspositionalTranspose (const T &t)
static TPosTranspositionalTranspose (T &t)
static const TWithoutNegatorcastAwayNegatorIfAny (const T &t)
static TWithoutNegatorupdCastAwayNegatorIfAny (const T &t)
static ScalarSq scalarNormSqr (const T &t)
static TAbs abs (const T &t)
static const TStandardstandardize (const T &t)
static TNormalize normalize (const T &t)
static TInvert invert (const T &t)
static const TgetNaN ()
static const TgetInfinity ()
static const TgetI ()
static const TgetZero ()
static const TgetOne ()
static const TgetMinusOne ()
static const TgetTwo ()
static const TgetThree ()
static const TgetOneHalf ()
static const TgetOneThird ()
static const TgetOneFourth ()
static const TgetOneFifth ()
static const TgetOneSixth ()
static const TgetOneSeventh ()
static const TgetOneEighth ()
static const TgetOneNinth ()
static const TgetPi ()
static const TgetOneOverPi ()
static const TgetE ()
static const TgetLog2E ()
static const TgetLog10E ()
static const TgetSqrt2 ()
static const TgetOneOverSqrt2 ()
static const TgetSqrt3 ()
static const TgetOneOverSqrt3 ()
static const TgetCubeRoot2 ()
static const TgetCubeRoot3 ()
static const TgetLn2 ()
static const TgetLn10 ()

Classes

struct  Result
struct  Substitute


Member Typedef Documentation

typedef C Number

typedef R Precision

typedef C Scalar

typedef R ScalarSq

typedef C StdNumber

typedef C T

typedef R TAbs

typedef C TCol

typedef C TComplex

typedef C TElement

typedef conjugate<R> THerm

typedef R TImag

typedef C TInvert

typedef negator<C> TNeg

typedef C TNormalize

typedef C TPosTrans

typedef R TReal

typedef C TRow

typedef R TSqHermT

typedef R TSqTHerm

typedef C TStandard

typedef C TWithoutNegator


Member Enumeration Documentation

anonymous enum

Enumerator:
NRows 
NCols 
RowSpacing 
ColSpacing 
NPackedElements 
NActualElements 
NActualScalars 
ImagOffset 
RealStrideFactor 
ArgDepth 
IsScalar 
IsNumber 
IsStdNumber 
IsPrecision 
SignInterpretation 


Member Function Documentation

static TAbs abs ( const T t  )  [inline, static]

static const TWithoutNegator& castAwayNegatorIfAny ( const T t  )  [inline, static]

static const T& getCubeRoot2 (  )  [inline, static]

static const T& getCubeRoot3 (  )  [inline, static]

static const T* getData ( const T t  )  [inline, static]

static const T& getE (  )  [inline, static]

static const T& getI (  )  [inline, static]

static const T& getInfinity (  )  [inline, static]

static const T& getLn10 (  )  [inline, static]

static const T& getLn2 (  )  [inline, static]

static const T& getLog10E (  )  [inline, static]

static const T& getLog2E (  )  [inline, static]

static const T& getMinusOne (  )  [inline, static]

static const T& getNaN (  )  [inline, static]

static const T& getOne (  )  [inline, static]

static const T& getOneEighth (  )  [inline, static]

static const T& getOneFifth (  )  [inline, static]

static const T& getOneFourth (  )  [inline, static]

static const T& getOneHalf (  )  [inline, static]

static const T& getOneNinth (  )  [inline, static]

static const T& getOneOverPi (  )  [inline, static]

static const T& getOneOverSqrt2 (  )  [inline, static]

static const T& getOneOverSqrt3 (  )  [inline, static]

static const T& getOneSeventh (  )  [inline, static]

static const T& getOneSixth (  )  [inline, static]

static const T& getOneThird (  )  [inline, static]

static const T& getPi (  )  [inline, static]

static const T& getSqrt2 (  )  [inline, static]

static const T& getSqrt3 (  )  [inline, static]

static const T& getThree (  )  [inline, static]

static const T& getTwo (  )  [inline, static]

static const T& getZero (  )  [inline, static]

static R& imag ( T t  )  [inline, static]

static const R& imag ( const T t  )  [inline, static]

static TInvert invert ( const T t  )  [inline, static]

static TNeg& negate ( T t  )  [inline, static]

static const TNeg& negate ( const T t  )  [inline, static]

static TNormalize normalize ( const T t  )  [inline, static]

static TPosTrans& positionalTranspose ( T t  )  [inline, static]

static const TPosTrans& positionalTranspose ( const T t  )  [inline, static]

static R& real ( T t  )  [inline, static]

static const R& real ( const T t  )  [inline, static]

static ScalarSq scalarNormSqr ( const T t  )  [inline, static]

static const TStandard& standardize ( const T t  )  [inline, static]

static THerm& transpose ( T t  )  [inline, static]

static const THerm& transpose ( const T t  )  [inline, static]

static TWithoutNegator& updCastAwayNegatorIfAny ( const T t  )  [inline, static]

static T* updData ( T t  )  [inline, static]


The documentation for this class was generated from the following file:
Generated on Thu Feb 28 01:34:36 2008 for SimTKcommon by  doxygen 1.4.7