#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 = 0, IsPrecision = 0, SignInterpretation = 1 } |
typedef conjugate< R > | T |
typedef negator< T > | TNeg |
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 T * | getData (const T &t) |
static T * | updData (T &t) |
static const TReal & | real (const T &t) |
static TReal & | real (T &t) |
static const TImag & | imag (const T &t) |
static TImag & | 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 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 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 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 () |
typedef R Precision |
typedef R ScalarNormSq |
typedef complex<R> StdNumber |
typedef R TAbs |
typedef complex<R> THerm |
typedef conjugate<R> TNormalize |
typedef R TReal |
typedef R TSqHermT |
typedef complex<R> TSqrt |
typedef R TSqTHerm |
typedef complex<R> TStandard |
typedef conjugate<R> TWithoutNegator |
typedef conjugate<R> ULessScalar |
anonymous enum |
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 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 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] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
int | b | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const long double & | b, | |||
double | tol | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const long double & | b | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const double & | b, | |||
double | tol | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const double & | b | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const float & | b, | |||
double | tol | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const float & | b | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const complex< R2 > & | b, | |||
double | tol | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const complex< R2 > & | b | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
static bool isNumericallyEqual | ( | const T & | a, | |
const conjugate< R2 > & | b, | |||
double | tol | |||
) | [inline, static] |
References SimTK::isNumericallyEqual().
References SimTK::isNumericallyEqual().
static TNormalize normalize | ( | const T & | t | ) | [inline, static] |
References SimTK::abs().
static ScalarNormSq scalarNormSqr | ( | const T & | t | ) | [inline, static] |
static TWithoutNegator& updCastAwayNegatorIfAny | ( | T & | t | ) | [inline, static] |