NTraits< complex< R > > Class Template Reference
Partial specialization for complex numbers -- underlying real R is still a template parameter.
More...
#include <NTraits.h>
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 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 () |
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
Member Enumeration Documentation
- 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] |
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 R& imag |
( |
T & |
t |
) |
[inline, static] |
static const R& imag |
( |
const T & |
t |
) |
[inline, static] |
static TInvert invert |
( |
const T & |
t |
) |
[inline, static] |
static bool isFinite |
( |
const T & |
t |
) |
[inline, static] |
static bool isInf |
( |
const T & |
t |
) |
[inline, static] |
static bool isNaN |
( |
const T & |
t |
) |
[inline, static] |
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 conjugate< R2 > & |
b, |
|
|
double |
tol | |
|
) |
| | [inline, static] |
static bool isNumericallyEqual |
( |
const T & |
a, |
|
|
const conjugate< R2 > & |
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 TNeg& negate |
( |
T & |
t |
) |
[inline, static] |
static const TNeg& negate |
( |
const T & |
t |
) |
[inline, static] |
static TNormalize normalize |
( |
const T & |
t |
) |
[inline, static] |
static TPosTrans& positionalTranspose |
( |
T & |
t |
) |
[inline, static] |
static const TPosTrans& positionalTranspose |
( |
const T & |
t |
) |
[inline, static] |
static R& real |
( |
T & |
t |
) |
[inline, static] |
static const R& real |
( |
const T & |
t |
) |
[inline, static] |
static ScalarNormSq scalarNormSqr |
( |
const T & |
t |
) |
[inline, static] |
static TSqrt sqrt |
( |
const T & |
t |
) |
[inline, static] |
static const TStandard& standardize |
( |
const T & |
t |
) |
[inline, static] |
static THerm& transpose |
( |
T & |
t |
) |
[inline, static] |
static const THerm& transpose |
( |
const T & |
t |
) |
[inline, static] |
static T* updData |
( |
T & |
t |
) |
[inline, static] |
The documentation for this class was generated from the following file: