NTraits< conjugate< R > > Class Template Reference

#include <NTraits.h>

Inheritance diagram for NTraits< conjugate< R > >:
CNT< conjugate< R > >

List of all members.

Classes

struct  Result
struct  Substitute

Public Types

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

Static Public Member Functions

static const TgetData (const T &t)
static TupdData (T &t)
static const TRealreal (const T &t)
static TRealreal (T &t)
static const TImagimag (const T &t)
static TImagimag (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 (T &t)
static ScalarNormSq scalarNormSqr (const T &t)
static TSqrt sqrt (const T &t)
static TAbs abs (const T &t)
static TStandard standardize (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 bool isFinite (const T &t)
static bool isNaN (const T &t)
static bool isInf (const T &t)
static double getDefaultTolerance ()
template<class R2 >
static bool isNumericallyEqual (const T &a, const conjugate< R2 > &b)
template<class R2 >
static bool isNumericallyEqual (const T &a, const conjugate< R2 > &b, double tol)
template<class R2 >
static bool isNumericallyEqual (const T &a, const complex< R2 > &b)
template<class R2 >
static bool isNumericallyEqual (const T &a, const complex< R2 > &b, double tol)
static bool isNumericallyEqual (const T &a, const float &b)
static bool isNumericallyEqual (const T &a, const float &b, double tol)
static bool isNumericallyEqual (const T &a, const double &b)
static bool isNumericallyEqual (const T &a, const double &b, double tol)
static bool isNumericallyEqual (const T &a, const long double &b)
static bool isNumericallyEqual (const T &a, const long double &b, double tol)
static bool isNumericallyEqual (const T &a, int b)
static bool isNumericallyEqual (const T &a, int b, double tol)
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 ()

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


Member Typedef Documentation

typedef conjugate<R> Number
typedef R Precision
typedef conjugate<R> Scalar
typedef R ScalarNormSq
typedef complex<R> StdNumber
typedef conjugate<R> T
typedef R TAbs
typedef conjugate<R> TCol
typedef conjugate<R> TComplex
typedef conjugate<R> TElement
typedef complex<R> THerm
typedef negator<R> TImag
typedef conjugate<R> TInvert
typedef negator<T> TNeg
typedef conjugate<R> TNormalize
typedef conjugate<R> TPosTrans
typedef R TReal
typedef conjugate<R> TRow
typedef R TSqHermT
typedef complex<R> TSqrt
typedef R TSqTHerm
typedef complex<R> TStandard
typedef conjugate<R> ULessScalar

Member Enumeration Documentation

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

Member Function Documentation

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

References SimTK::abs().

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 double getDefaultTolerance (  )  [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 TImag& imag ( T t  )  [inline, static]
static const TImag& imag ( const T t  )  [inline, static]
static TInvert invert ( const T t  )  [inline, static]
static bool isFinite ( const T t  )  [inline, static]

References SimTK::isFinite().

static bool isInf ( const T t  )  [inline, static]

References SimTK::isInf().

static bool isNaN ( const T t  )  [inline, static]

References SimTK::isNaN().

static bool isNumericallyEqual ( const T a,
int  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
int  b 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const long double &  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const long double &  b 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const double &  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const double &  b 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const float &  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const float &  b 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const complex< R2 > &  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const complex< R2 > &  b 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const conjugate< R2 > &  b,
double  tol 
) [inline, static]
static bool isNumericallyEqual ( const T a,
const conjugate< R2 > &  b 
) [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]

References SimTK::abs().

static TPosTrans& positionalTranspose ( T t  )  [inline, static]
static const TPosTrans& positionalTranspose ( const T t  )  [inline, static]
static TReal& real ( T t  )  [inline, static]
static const TReal& real ( const T t  )  [inline, static]
static ScalarNormSq scalarNormSqr ( const T t  )  [inline, static]
static TSqrt sqrt ( const T t  )  [inline, static]
static 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 ( T t  )  [inline, static]
static T* updData ( T t  )  [inline, static]

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

Generated by  doxygen 1.6.2