Wm4::Math< Real > Class Template Reference

#include <Wm4Math.h>

List of all members.

Static Public Member Functions

static Real ACos (Real fValue)
static Real ASin (Real fValue)
static Real ATan (Real fValue)
static Real ATan2 (Real fY, Real fX)
static Real Ceil (Real fValue)
static Real Cos (Real fValue)
static Real Exp (Real fValue)
static Real FAbs (Real fValue)
static Real FastCos0 (Real fAngle)
static Real FastCos1 (Real fAngle)
static Real FastInvCos0 (Real fValue)
static Real FastInvCos1 (Real fValue)
static Real FastInvSin0 (Real fValue)
static Real FastInvSin1 (Real fValue)
static Real FastInvSqrt (Real fValue)
static Real FastInvTan0 (Real fValue)
static Real FastInvTan1 (Real fValue)
static Real FastNegExp0 (Real fValue)
static Real FastNegExp1 (Real fValue)
static Real FastNegExp2 (Real fValue)
static Real FastNegExp3 (Real fValue)
static Real FastSin0 (Real fAngle)
static Real FastSin1 (Real fAngle)
static Real FastTan0 (Real fAngle)
static Real FastTan1 (Real fAngle)
static Real Floor (Real fValue)
static Real FMod (Real fX, Real fY)
static Real IntervalRandom (Real fMin, Real fMax, unsigned int uiSeed=0)
static Real InvSqrt (Real fValue)
static Real Log (Real fValue)
static Real Log10 (Real fValue)
static Real Log2 (Real fValue)
static Real Pow (Real fBase, Real fExponent)
static Real Sign (Real fValue)
static int Sign (int iValue)
static Real Sin (Real fValue)
static Real Sqr (Real fValue)
static Real Sqrt (Real fValue)
static Real SymmetricRandom (unsigned int uiSeed=0)
static Real Tan (Real fValue)
static Real UnitRandom (unsigned int uiSeed=0)

Static Public Attributes

static const Real DEG_TO_RAD
static const Real EPSILON
static const Real HALF_PI
static const Real INV_LN_10
static const Real INV_LN_2
static const Real INV_PI
static const Real INV_TWO_PI
static const Real LN_10
static const Real LN_2
static const Real MAX_REAL
static const Real PI
static const Real RAD_TO_DEG
static const Real TWO_PI
static const Real ZERO_TOLERANCE

Detailed Description

template<class Real>
class Wm4::Math< Real >

Definition at line 27 of file Wm4Math.h.


Member Function Documentation

template<class Real >
Real Wm4::Math< Real >::ACos ( Real  fValue  )  [inline, static]

Definition at line 21 of file Wm4Math.inl.

References KDL::acos(), and Wm4::Math< Real >::PI.

template<class Real >
Real Wm4::Math< Real >::ASin ( Real  fValue  )  [inline, static]

Definition at line 41 of file Wm4Math.inl.

References KDL::asin(), and Wm4::Math< Real >::HALF_PI.

template<class Real >
Real Wm4::Math< Real >::ATan ( Real  fValue  )  [inline, static]

Definition at line 61 of file Wm4Math.inl.

References KDL::atan().

template<class Real >
Real Wm4::Math< Real >::ATan2 ( Real  fY,
Real  fX 
) [inline, static]

Definition at line 67 of file Wm4Math.inl.

References KDL::atan2().

template<class Real >
Real Wm4::Math< Real >::Ceil ( Real  fValue  )  [inline, static]

Definition at line 73 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::Cos ( Real  fValue  )  [inline, static]

Definition at line 79 of file Wm4Math.inl.

References KDL::cos().

template<class Real >
Real Wm4::Math< Real >::Exp ( Real  fValue  )  [inline, static]

Definition at line 85 of file Wm4Math.inl.

References KDL::exp().

template<class Real >
Real Wm4::Math< Real >::FAbs ( Real  fValue  )  [inline, static]

Definition at line 91 of file Wm4Math.inl.

Referenced by Wm4::Math< Real >::FastInvCos1(), and Wm4::Math< Real >::FastInvSin1().

template<class Real >
Real Wm4::Math< Real >::FastCos0 ( Real  fAngle  )  [inline, static]

Definition at line 263 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastCos1 ( Real  fAngle  )  [inline, static]

Definition at line 275 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastInvCos0 ( Real  fValue  )  [inline, static]

Definition at line 365 of file Wm4Math.inl.

References Wm4::Math< Real >::Sqrt().

template<class Real >
Real Wm4::Math< Real >::FastInvCos1 ( Real  fValue  )  [inline, static]

Definition at line 380 of file Wm4Math.inl.

References Wm4::Math< Real >::FAbs(), and Wm4::Math< Real >::Sqrt().

template<class Real >
Real Wm4::Math< Real >::FastInvSin0 ( Real  fValue  )  [inline, static]

Definition at line 327 of file Wm4Math.inl.

References Wm4::Math< Real >::HALF_PI, and Wm4::Math< Real >::Sqrt().

template<class Real >
Real Wm4::Math< Real >::FastInvSin1 ( Real  fValue  )  [inline, static]
template<class Real>
static Real Wm4::Math< Real >::FastInvSqrt ( Real  fValue  )  [static]
template<class Real >
Real Wm4::Math< Real >::FastInvTan0 ( Real  fValue  )  [inline, static]

Definition at line 403 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastInvTan1 ( Real  fValue  )  [inline, static]

Definition at line 420 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastNegExp0 ( Real  fValue  )  [inline, static]

Definition at line 445 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastNegExp1 ( Real  fValue  )  [inline, static]

Definition at line 461 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastNegExp2 ( Real  fValue  )  [inline, static]

Definition at line 479 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastNegExp3 ( Real  fValue  )  [inline, static]

Definition at line 499 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastSin0 ( Real  fAngle  )  [inline, static]

Definition at line 231 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastSin1 ( Real  fAngle  )  [inline, static]

Definition at line 244 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastTan0 ( Real  fAngle  )  [inline, static]

Definition at line 293 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FastTan1 ( Real  fAngle  )  [inline, static]

Definition at line 306 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::Floor ( Real  fValue  )  [inline, static]

Definition at line 97 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::FMod ( Real  fX,
Real  fY 
) [inline, static]

Definition at line 103 of file Wm4Math.inl.

References Base::fmod().

template<class Real >
Real Wm4::Math< Real >::IntervalRandom ( Real  fMin,
Real  fMax,
unsigned int  uiSeed = 0 
) [inline, static]

Definition at line 219 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::InvSqrt ( Real  fValue  )  [inline, static]

Definition at line 109 of file Wm4Math.inl.

References KDL::sqrt().

template<class Real >
Real Wm4::Math< Real >::Log ( Real  fValue  )  [inline, static]

Definition at line 115 of file Wm4Math.inl.

References KDL::log().

template<class Real >
Real Wm4::Math< Real >::Log10 ( Real  fValue  )  [inline, static]

Definition at line 127 of file Wm4Math.inl.

References KDL::log().

template<class Real >
Real Wm4::Math< Real >::Log2 ( Real  fValue  )  [inline, static]

Definition at line 121 of file Wm4Math.inl.

References KDL::log().

template<class Real >
Real Wm4::Math< Real >::Pow ( Real  fBase,
Real  fExponent 
) [inline, static]

Definition at line 133 of file Wm4Math.inl.

References KDL::pow().

template<class Real >
Real Wm4::Math< Real >::Sign ( Real  fValue  )  [inline, static]

Definition at line 179 of file Wm4Math.inl.

template<class Real >
int Wm4::Math< Real >::Sign ( int  iValue  )  [inline, static]

Definition at line 163 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::Sin ( Real  fValue  )  [inline, static]

Definition at line 139 of file Wm4Math.inl.

References KDL::sin().

template<class Real >
Real Wm4::Math< Real >::Sqr ( Real  fValue  )  [inline, static]

Definition at line 145 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::Sqrt ( Real  fValue  )  [inline, static]
template<class Real >
Real Wm4::Math< Real >::SymmetricRandom ( unsigned int  uiSeed = 0  )  [inline, static]

Definition at line 207 of file Wm4Math.inl.

template<class Real >
Real Wm4::Math< Real >::Tan ( Real  fValue  )  [inline, static]

Definition at line 157 of file Wm4Math.inl.

References KDL::tan().

template<class Real >
Real Wm4::Math< Real >::UnitRandom ( unsigned int  uiSeed = 0  )  [inline, static]

Definition at line 195 of file Wm4Math.inl.


Member Data Documentation

template<class Real>
const Real Wm4::Math< Real >::DEG_TO_RAD [static]

Definition at line 136 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::EPSILON [static]

Definition at line 128 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::HALF_PI [static]
template<class Real>
const Real Wm4::Math< Real >::INV_LN_10 [static]

Definition at line 141 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::INV_LN_2 [static]

Definition at line 140 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::INV_PI [static]

Definition at line 134 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::INV_TWO_PI [static]

Definition at line 135 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::LN_10 [static]

Definition at line 139 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::LN_2 [static]

Definition at line 138 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::MAX_REAL [static]

Definition at line 130 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::PI [static]

Definition at line 131 of file Wm4Math.h.

Referenced by Wm4::Math< Real >::ACos().

template<class Real>
const Real Wm4::Math< Real >::RAD_TO_DEG [static]

Definition at line 137 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::TWO_PI [static]

Definition at line 132 of file Wm4Math.h.

template<class Real>
const Real Wm4::Math< Real >::ZERO_TOLERANCE [static]

Definition at line 129 of file Wm4Math.h.


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

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1