Simbody  3.7
SimTK::NTraits< conjugate< R > > Class Template Reference
+ Inheritance diagram for SimTK::NTraits< conjugate< R > >:

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, 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 ()
 

Member Typedef Documentation

◆ T

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

◆ TNeg

template<class R >
typedef negator<T> SimTK::NTraits< conjugate< R > >::TNeg

◆ TWithoutNegator

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

◆ TReal

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

◆ TImag

template<class R >
typedef negator<R> SimTK::NTraits< conjugate< R > >::TImag

◆ TComplex

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

◆ THerm

template<class R >
typedef complex<R> SimTK::NTraits< conjugate< R > >::THerm

◆ TPosTrans

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

◆ TSqHermT

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

◆ TSqTHerm

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

◆ TElement

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

◆ TRow

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

◆ TCol

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

◆ TSqrt

template<class R >
typedef complex<R> SimTK::NTraits< conjugate< R > >::TSqrt

◆ TAbs

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

◆ TStandard

template<class R >
typedef complex<R> SimTK::NTraits< conjugate< R > >::TStandard

◆ TInvert

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

◆ TNormalize

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

◆ Scalar

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

◆ ULessScalar

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

◆ Number

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

◆ StdNumber

template<class R >
typedef complex<R> SimTK::NTraits< conjugate< R > >::StdNumber

◆ Precision

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

◆ ScalarNormSq

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

Member Enumeration Documentation

◆ anonymous enum

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

◆ getData()

template<class R >
static const T* SimTK::NTraits< conjugate< R > >::getData ( const T t)
inlinestatic

◆ updData()

template<class R >
static T* SimTK::NTraits< conjugate< R > >::updData ( T t)
inlinestatic

◆ real() [1/2]

template<class R >
static const TReal& SimTK::NTraits< conjugate< R > >::real ( const T t)
inlinestatic

◆ real() [2/2]

template<class R >
static TReal& SimTK::NTraits< conjugate< R > >::real ( T t)
inlinestatic

◆ imag() [1/2]

template<class R >
static const TImag& SimTK::NTraits< conjugate< R > >::imag ( const T t)
inlinestatic

◆ imag() [2/2]

template<class R >
static TImag& SimTK::NTraits< conjugate< R > >::imag ( T t)
inlinestatic

◆ negate() [1/2]

template<class R >
static const TNeg& SimTK::NTraits< conjugate< R > >::negate ( const T t)
inlinestatic

◆ negate() [2/2]

template<class R >
static TNeg& SimTK::NTraits< conjugate< R > >::negate ( T t)
inlinestatic

◆ transpose() [1/2]

template<class R >
static const THerm& SimTK::NTraits< conjugate< R > >::transpose ( const T t)
inlinestatic

◆ transpose() [2/2]

template<class R >
static THerm& SimTK::NTraits< conjugate< R > >::transpose ( T t)
inlinestatic

◆ positionalTranspose() [1/2]

template<class R >
static const TPosTrans& SimTK::NTraits< conjugate< R > >::positionalTranspose ( const T t)
inlinestatic

◆ positionalTranspose() [2/2]

template<class R >
static TPosTrans& SimTK::NTraits< conjugate< R > >::positionalTranspose ( T t)
inlinestatic

◆ castAwayNegatorIfAny()

template<class R >
static const TWithoutNegator& SimTK::NTraits< conjugate< R > >::castAwayNegatorIfAny ( const T t)
inlinestatic

◆ updCastAwayNegatorIfAny()

template<class R >
static TWithoutNegator& SimTK::NTraits< conjugate< R > >::updCastAwayNegatorIfAny ( T t)
inlinestatic

◆ scalarNormSqr()

template<class R >
static ScalarNormSq SimTK::NTraits< conjugate< R > >::scalarNormSqr ( const T t)
inlinestatic

◆ sqrt()

template<class R >
static TSqrt SimTK::NTraits< conjugate< R > >::sqrt ( const T t)
inlinestatic

◆ abs()

template<class R >
static TAbs SimTK::NTraits< conjugate< R > >::abs ( const T t)
inlinestatic

◆ standardize()

template<class R >
static TStandard SimTK::NTraits< conjugate< R > >::standardize ( const T t)
inlinestatic

◆ normalize()

template<class R >
static TNormalize SimTK::NTraits< conjugate< R > >::normalize ( const T t)
inlinestatic

◆ invert()

template<class R >
static TInvert SimTK::NTraits< conjugate< R > >::invert ( const T t)
inlinestatic

◆ getNaN()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getNaN ( )
inlinestatic

◆ getInfinity()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getInfinity ( )
inlinestatic

◆ getI()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getI ( )
inlinestatic

◆ isFinite()

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isFinite ( const T t)
inlinestatic

◆ isNaN()

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNaN ( const T t)
inlinestatic

◆ isInf()

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isInf ( const T t)
inlinestatic

◆ getDefaultTolerance()

template<class R >
static double SimTK::NTraits< conjugate< R > >::getDefaultTolerance ( )
inlinestatic

◆ isNumericallyEqual() [1/10]

template<class R >
template<class R2 >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const conjugate< R2 > &  b 
)
inlinestatic

◆ isNumericallyEqual() [2/10]

template<class R >
template<class R2 >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const conjugate< R2 > &  b,
double  tol 
)
inlinestatic

◆ isNumericallyEqual() [3/10]

template<class R >
template<class R2 >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const complex< R2 > &  b 
)
inlinestatic

◆ isNumericallyEqual() [4/10]

template<class R >
template<class R2 >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const complex< R2 > &  b,
double  tol 
)
inlinestatic

◆ isNumericallyEqual() [5/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const float &  b 
)
inlinestatic

◆ isNumericallyEqual() [6/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const float &  b,
double  tol 
)
inlinestatic

◆ isNumericallyEqual() [7/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const double &  b 
)
inlinestatic

◆ isNumericallyEqual() [8/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
const double &  b,
double  tol 
)
inlinestatic

◆ isNumericallyEqual() [9/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
int  b 
)
inlinestatic

◆ isNumericallyEqual() [10/10]

template<class R >
static bool SimTK::NTraits< conjugate< R > >::isNumericallyEqual ( const T a,
int  b,
double  tol 
)
inlinestatic

◆ getZero()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getZero ( )
inlinestatic

◆ getOne()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOne ( )
inlinestatic

◆ getMinusOne()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getMinusOne ( )
inlinestatic

◆ getTwo()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getTwo ( )
inlinestatic

◆ getThree()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getThree ( )
inlinestatic

◆ getOneHalf()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneHalf ( )
inlinestatic

◆ getOneThird()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneThird ( )
inlinestatic

◆ getOneFourth()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneFourth ( )
inlinestatic

◆ getOneFifth()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneFifth ( )
inlinestatic

◆ getOneSixth()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneSixth ( )
inlinestatic

◆ getOneSeventh()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneSeventh ( )
inlinestatic

◆ getOneEighth()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneEighth ( )
inlinestatic

◆ getOneNinth()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneNinth ( )
inlinestatic

◆ getPi()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getPi ( )
inlinestatic

◆ getOneOverPi()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneOverPi ( )
inlinestatic

◆ getE()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getE ( )
inlinestatic

◆ getLog2E()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getLog2E ( )
inlinestatic

◆ getLog10E()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getLog10E ( )
inlinestatic

◆ getSqrt2()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getSqrt2 ( )
inlinestatic

◆ getOneOverSqrt2()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneOverSqrt2 ( )
inlinestatic

◆ getSqrt3()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getSqrt3 ( )
inlinestatic

◆ getOneOverSqrt3()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getOneOverSqrt3 ( )
inlinestatic

◆ getCubeRoot2()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getCubeRoot2 ( )
inlinestatic

◆ getCubeRoot3()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getCubeRoot3 ( )
inlinestatic

◆ getLn2()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getLn2 ( )
inlinestatic

◆ getLn10()

template<class R >
static const T& SimTK::NTraits< conjugate< R > >::getLn10 ( )
inlinestatic

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