Simbody
Classes | Public Types | Static Public Member Functions

SimTK::NTraits< complex< R > > Class Template Reference

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

#include <NTraits.h>

Inheritance diagram for SimTK::NTraits< complex< 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 = 1, IsPrecision = 0, SignInterpretation = 1
}
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 C TSqrt
typedef R TAbs
typedef C TStandard
typedef C TInvert
typedef C TNormalize
typedef C Scalar
typedef C ULessScalar
typedef C Number
typedef C StdNumber
typedef R Precision
typedef R ScalarNormSq

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 (T &t)
static ScalarNormSq scalarNormSqr (const T &t)
static TSqrt sqrt (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 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 complex< R2 > &b)
template<class R2 >
static bool isNumericallyEqual (const T &a, const complex< R2 > &b, double tol)
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)
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 ()

Detailed Description

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

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


Member Typedef Documentation

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

Member Enumeration Documentation

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

Member Function Documentation

template<class R >
static const T* SimTK::NTraits< complex< R > >::getData ( const T t) [inline, static]
template<class R >
static T* SimTK::NTraits< complex< R > >::updData ( T t) [inline, static]
template<class R >
static const R& SimTK::NTraits< complex< R > >::real ( const T t) [inline, static]
template<class R >
static R& SimTK::NTraits< complex< R > >::real ( T t) [inline, static]
template<class R >
static const R& SimTK::NTraits< complex< R > >::imag ( const T t) [inline, static]
template<class R >
static R& SimTK::NTraits< complex< R > >::imag ( T t) [inline, static]
template<class R >
static const TNeg& SimTK::NTraits< complex< R > >::negate ( const T t) [inline, static]
template<class R >
static TNeg& SimTK::NTraits< complex< R > >::negate ( T t) [inline, static]
template<class R >
static const THerm& SimTK::NTraits< complex< R > >::transpose ( const T t) [inline, static]
template<class R >
static THerm& SimTK::NTraits< complex< R > >::transpose ( T t) [inline, static]
template<class R >
static const TPosTrans& SimTK::NTraits< complex< R > >::positionalTranspose ( const T t) [inline, static]
template<class R >
static TPosTrans& SimTK::NTraits< complex< R > >::positionalTranspose ( T t) [inline, static]
template<class R >
static const TWithoutNegator& SimTK::NTraits< complex< R > >::castAwayNegatorIfAny ( const T t) [inline, static]
template<class R >
static TWithoutNegator& SimTK::NTraits< complex< R > >::updCastAwayNegatorIfAny ( T t) [inline, static]
template<class R >
static ScalarNormSq SimTK::NTraits< complex< R > >::scalarNormSqr ( const T t) [inline, static]
template<class R >
static TSqrt SimTK::NTraits< complex< R > >::sqrt ( const T t) [inline, static]
template<class R >
static TAbs SimTK::NTraits< complex< R > >::abs ( const T t) [inline, static]
template<class R >
static const TStandard& SimTK::NTraits< complex< R > >::standardize ( const T t) [inline, static]
template<class R >
static TNormalize SimTK::NTraits< complex< R > >::normalize ( const T t) [inline, static]
template<class R >
static TInvert SimTK::NTraits< complex< R > >::invert ( const T t) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getNaN ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getInfinity ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getI ( ) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isFinite ( const T t) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNaN ( const T t) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isInf ( const T t) [inline, static]
template<class R >
static double SimTK::NTraits< complex< R > >::getDefaultTolerance ( ) [inline, static]
template<class R >
template<class R2 >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const complex< R2 > &  b 
) [inline, static]
template<class R >
template<class R2 >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const complex< R2 > &  b,
double  tol 
) [inline, static]
template<class R >
template<class R2 >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const conjugate< R2 > &  b 
) [inline, static]
template<class R >
template<class R2 >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const conjugate< R2 > &  b,
double  tol 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const float &  b 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const float &  b,
double  tol 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const double &  b 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const double &  b,
double  tol 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const long double &  b 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
const long double &  b,
double  tol 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
int  b 
) [inline, static]
template<class R >
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual ( const T a,
int  b,
double  tol 
) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getZero ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOne ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getMinusOne ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getTwo ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getThree ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneHalf ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneThird ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneFourth ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneFifth ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneSixth ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneSeventh ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneEighth ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneNinth ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getPi ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneOverPi ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getE ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getLog2E ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getLog10E ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getSqrt2 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneOverSqrt2 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getSqrt3 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getOneOverSqrt3 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getCubeRoot2 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getCubeRoot3 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getLn2 ( ) [inline, static]
template<class R >
static const T& SimTK::NTraits< complex< R > >::getLn10 ( ) [inline, static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines