Simbody
3.4 (development)
|
Partial specialization for complex numbers -- underlying real R is still a template parameter. More...
#include <NTraits.h>
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 T * | getData (const T &t) |
static T * | updData (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 TNeg & | negate (const T &t) |
static TNeg & | negate (T &t) |
static const THerm & | transpose (const T &t) |
static THerm & | transpose (T &t) |
static const TPosTrans & | positionalTranspose (const T &t) |
static TPosTrans & | positionalTranspose (T &t) |
static const TWithoutNegator & | castAwayNegatorIfAny (const T &t) |
static TWithoutNegator & | updCastAwayNegatorIfAny (T &t) |
static ScalarNormSq | scalarNormSqr (const T &t) |
static TSqrt | sqrt (const T &t) |
static TAbs | abs (const T &t) |
static const TStandard & | standardize (const T &t) |
static TNormalize | normalize (const T &t) |
static TInvert | invert (const T &t) |
static const T & | getNaN () |
static const T & | getInfinity () |
static const T & | getI () |
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 T & | getZero () |
static const T & | getOne () |
static const T & | getMinusOne () |
static const T & | getTwo () |
static const T & | getThree () |
static const T & | getOneHalf () |
static const T & | getOneThird () |
static const T & | getOneFourth () |
static const T & | getOneFifth () |
static const T & | getOneSixth () |
static const T & | getOneSeventh () |
static const T & | getOneEighth () |
static const T & | getOneNinth () |
static const T & | getPi () |
static const T & | getOneOverPi () |
static const T & | getE () |
static const T & | getLog2E () |
static const T & | getLog10E () |
static const T & | getSqrt2 () |
static const T & | getOneOverSqrt2 () |
static const T & | getSqrt3 () |
static const T & | getOneOverSqrt3 () |
static const T & | getCubeRoot2 () |
static const T & | getCubeRoot3 () |
static const T & | getLn2 () |
static const T & | getLn10 () |
Partial specialization for complex numbers -- underlying real R is still a template parameter.
typedef C SimTK::NTraits< complex< R > >::T |
typedef negator<C> SimTK::NTraits< complex< R > >::TNeg |
typedef C SimTK::NTraits< complex< R > >::TWithoutNegator |
typedef R SimTK::NTraits< complex< R > >::TReal |
typedef R SimTK::NTraits< complex< R > >::TImag |
typedef C SimTK::NTraits< complex< R > >::TComplex |
typedef conjugate<R> SimTK::NTraits< complex< R > >::THerm |
typedef C SimTK::NTraits< complex< R > >::TPosTrans |
typedef R SimTK::NTraits< complex< R > >::TSqHermT |
typedef R SimTK::NTraits< complex< R > >::TSqTHerm |
typedef C SimTK::NTraits< complex< R > >::TElement |
typedef C SimTK::NTraits< complex< R > >::TRow |
typedef C SimTK::NTraits< complex< R > >::TCol |
typedef C SimTK::NTraits< complex< R > >::TSqrt |
typedef R SimTK::NTraits< complex< R > >::TAbs |
typedef C SimTK::NTraits< complex< R > >::TStandard |
typedef C SimTK::NTraits< complex< R > >::TInvert |
typedef C SimTK::NTraits< complex< R > >::TNormalize |
typedef C SimTK::NTraits< complex< R > >::Scalar |
typedef C SimTK::NTraits< complex< R > >::ULessScalar |
typedef C SimTK::NTraits< complex< R > >::Number |
typedef C SimTK::NTraits< complex< R > >::StdNumber |
typedef R SimTK::NTraits< complex< R > >::Precision |
typedef R SimTK::NTraits< complex< R > >::ScalarNormSq |
anonymous enum |
static const T* SimTK::NTraits< complex< R > >::getData | ( | const T & | t | ) | [inline, static] |
static T* SimTK::NTraits< complex< R > >::updData | ( | T & | t | ) | [inline, static] |
static const R& SimTK::NTraits< complex< R > >::real | ( | const T & | t | ) | [inline, static] |
static R& SimTK::NTraits< complex< R > >::real | ( | T & | t | ) | [inline, static] |
static const R& SimTK::NTraits< complex< R > >::imag | ( | const T & | t | ) | [inline, static] |
static R& SimTK::NTraits< complex< R > >::imag | ( | T & | t | ) | [inline, static] |
static const TNeg& SimTK::NTraits< complex< R > >::negate | ( | const T & | t | ) | [inline, static] |
static TNeg& SimTK::NTraits< complex< R > >::negate | ( | T & | t | ) | [inline, static] |
static const THerm& SimTK::NTraits< complex< R > >::transpose | ( | const T & | t | ) | [inline, static] |
static THerm& SimTK::NTraits< complex< R > >::transpose | ( | T & | t | ) | [inline, static] |
static const TPosTrans& SimTK::NTraits< complex< R > >::positionalTranspose | ( | const T & | t | ) | [inline, static] |
static TPosTrans& SimTK::NTraits< complex< R > >::positionalTranspose | ( | T & | t | ) | [inline, static] |
static const TWithoutNegator& SimTK::NTraits< complex< R > >::castAwayNegatorIfAny | ( | const T & | t | ) | [inline, static] |
static TWithoutNegator& SimTK::NTraits< complex< R > >::updCastAwayNegatorIfAny | ( | T & | t | ) | [inline, static] |
static ScalarNormSq SimTK::NTraits< complex< R > >::scalarNormSqr | ( | const T & | t | ) | [inline, static] |
static TSqrt SimTK::NTraits< complex< R > >::sqrt | ( | const T & | t | ) | [inline, static] |
static TAbs SimTK::NTraits< complex< R > >::abs | ( | const T & | t | ) | [inline, static] |
static const TStandard& SimTK::NTraits< complex< R > >::standardize | ( | const T & | t | ) | [inline, static] |
static TNormalize SimTK::NTraits< complex< R > >::normalize | ( | const T & | t | ) | [inline, static] |
static TInvert SimTK::NTraits< complex< R > >::invert | ( | const T & | t | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getNaN | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getInfinity | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getI | ( | ) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isFinite | ( | const T & | t | ) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNaN | ( | const T & | t | ) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isInf | ( | const T & | t | ) | [inline, static] |
static double SimTK::NTraits< complex< R > >::getDefaultTolerance | ( | ) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const complex< R2 > & | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const complex< R2 > & | b, | ||
double | tol | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const conjugate< R2 > & | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const conjugate< R2 > & | b, | ||
double | tol | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const float & | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const float & | b, | ||
double | tol | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const double & | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const double & | b, | ||
double | tol | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const long double & | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
const long double & | b, | ||
double | tol | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
int | b | ||
) | [inline, static] |
static bool SimTK::NTraits< complex< R > >::isNumericallyEqual | ( | const T & | a, |
int | b, | ||
double | tol | ||
) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getZero | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOne | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getMinusOne | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getTwo | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getThree | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneHalf | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneThird | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneFourth | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneFifth | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneSixth | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneSeventh | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneEighth | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneNinth | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getPi | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneOverPi | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getE | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getLog2E | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getLog10E | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getSqrt2 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneOverSqrt2 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getSqrt3 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getOneOverSqrt3 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getCubeRoot2 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getCubeRoot3 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getLn2 | ( | ) | [inline, static] |
static const T& SimTK::NTraits< complex< R > >::getLn10 | ( | ) | [inline, static] |