|
bool | SimTK::atMostOneBitIsSet (unsigned char v) |
|
bool | SimTK::atMostOneBitIsSet (unsigned short v) |
|
bool | SimTK::atMostOneBitIsSet (unsigned int v) |
|
bool | SimTK::atMostOneBitIsSet (unsigned long v) |
|
bool | SimTK::atMostOneBitIsSet (unsigned long long v) |
|
bool | SimTK::atMostOneBitIsSet (signed char v) |
|
bool | SimTK::atMostOneBitIsSet (char v) |
|
bool | SimTK::atMostOneBitIsSet (short v) |
|
bool | SimTK::atMostOneBitIsSet (int v) |
|
bool | SimTK::atMostOneBitIsSet (long v) |
|
bool | SimTK::atMostOneBitIsSet (long long v) |
|
bool | SimTK::exactlyOneBitIsSet (unsigned char v) |
|
bool | SimTK::exactlyOneBitIsSet (unsigned short v) |
|
bool | SimTK::exactlyOneBitIsSet (unsigned int v) |
|
bool | SimTK::exactlyOneBitIsSet (unsigned long v) |
|
bool | SimTK::exactlyOneBitIsSet (unsigned long long v) |
|
bool | SimTK::exactlyOneBitIsSet (signed char v) |
|
bool | SimTK::exactlyOneBitIsSet (char v) |
|
bool | SimTK::exactlyOneBitIsSet (short v) |
|
bool | SimTK::exactlyOneBitIsSet (int v) |
|
bool | SimTK::exactlyOneBitIsSet (long v) |
|
bool | SimTK::exactlyOneBitIsSet (long long v) |
|
bool | SimTK::signBit (unsigned char u) |
|
bool | SimTK::signBit (unsigned short u) |
|
bool | SimTK::signBit (unsigned int u) |
|
bool | SimTK::signBit (unsigned long u) |
|
bool | SimTK::signBit (unsigned long long u) |
|
bool | SimTK::signBit (signed char i) |
|
bool | SimTK::signBit (short i) |
|
bool | SimTK::signBit (int i) |
|
bool | SimTK::signBit (long long i) |
|
bool | SimTK::signBit (long i) |
|
bool | SimTK::signBit (const float &f) |
|
bool | SimTK::signBit (const double &d) |
|
bool | SimTK::signBit (const negator< float > &nf) |
|
bool | SimTK::signBit (const negator< double > &nd) |
|
unsigned int | SimTK::sign (unsigned char u) |
|
unsigned int | SimTK::sign (unsigned short u) |
|
unsigned int | SimTK::sign (unsigned int u) |
|
unsigned int | SimTK::sign (unsigned long u) |
|
unsigned int | SimTK::sign (unsigned long long u) |
|
int | SimTK::sign (signed char i) |
|
int | SimTK::sign (short i) |
|
int | SimTK::sign (int i) |
|
int | SimTK::sign (long i) |
|
int | SimTK::sign (long long i) |
|
int | SimTK::sign (const float &x) |
|
int | SimTK::sign (const double &x) |
|
int | SimTK::sign (const negator< float > &x) |
|
int | SimTK::sign (const negator< double > &x) |
|
unsigned char | SimTK::square (unsigned char u) |
|
unsigned short | SimTK::square (unsigned short u) |
|
unsigned int | SimTK::square (unsigned int u) |
|
unsigned long | SimTK::square (unsigned long u) |
|
unsigned long long | SimTK::square (unsigned long long u) |
|
char | SimTK::square (char c) |
|
signed char | SimTK::square (signed char i) |
|
short | SimTK::square (short i) |
|
int | SimTK::square (int i) |
|
long | SimTK::square (long i) |
|
long long | SimTK::square (long long i) |
|
float | SimTK::square (const float &x) |
|
double | SimTK::square (const double &x) |
|
float | SimTK::square (const negator< float > &x) |
|
double | SimTK::square (const negator< double > &x) |
|
template<class P > |
std::complex< P > | SimTK::square (const std::complex< P > &x) |
|
template<class P > |
std::complex< P > | SimTK::square (const conjugate< P > &x) |
|
template<class P > |
std::complex< P > | SimTK::square (const negator< std::complex< P > > &x) |
|
template<class P > |
std::complex< P > | SimTK::square (const negator< conjugate< P > > &x) |
|
unsigned char | SimTK::cube (unsigned char u) |
|
unsigned short | SimTK::cube (unsigned short u) |
|
unsigned int | SimTK::cube (unsigned int u) |
|
unsigned long | SimTK::cube (unsigned long u) |
|
unsigned long long | SimTK::cube (unsigned long long u) |
|
char | SimTK::cube (char c) |
|
signed char | SimTK::cube (signed char i) |
|
short | SimTK::cube (short i) |
|
int | SimTK::cube (int i) |
|
long | SimTK::cube (long i) |
|
long long | SimTK::cube (long long i) |
|
float | SimTK::cube (const float &x) |
|
double | SimTK::cube (const double &x) |
|
negator< float > | SimTK::cube (const negator< float > &x) |
|
negator< double > | SimTK::cube (const negator< double > &x) |
|
template<class P > |
std::complex< P > | SimTK::cube (const std::complex< P > &x) |
|
template<class P > |
std::complex< P > | SimTK::cube (const negator< std::complex< P > > &x) |
|
template<class P > |
std::complex< P > | SimTK::cube (const conjugate< P > &x) |
|
template<class P > |
std::complex< P > | SimTK::cube (const negator< conjugate< P > > &x) |
|
double & | SimTK::clampInPlace (double low, double &v, double high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
float & | SimTK::clampInPlace (float low, float &v, float high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
double & | SimTK::clampInPlace (int low, double &v, int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
float & | SimTK::clampInPlace (int low, float &v, int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
double & | SimTK::clampInPlace (int low, double &v, double high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
float & | SimTK::clampInPlace (int low, float &v, float high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
double & | SimTK::clampInPlace (double low, double &v, int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
float & | SimTK::clampInPlace (float low, float &v, int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
unsigned char & | SimTK::clampInPlace (unsigned char low, unsigned char &v, unsigned char high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
unsigned short & | SimTK::clampInPlace (unsigned short low, unsigned short &v, unsigned short high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
unsigned int & | SimTK::clampInPlace (unsigned int low, unsigned int &v, unsigned int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
unsigned long & | SimTK::clampInPlace (unsigned long low, unsigned long &v, unsigned long high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
unsigned long long & | SimTK::clampInPlace (unsigned long long low, unsigned long long &v, unsigned long long high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
char & | SimTK::clampInPlace (char low, char &v, char high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
signed char & | SimTK::clampInPlace (signed char low, signed char &v, signed char high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
short & | SimTK::clampInPlace (short low, short &v, short high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
int & | SimTK::clampInPlace (int low, int &v, int high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
long & | SimTK::clampInPlace (long low, long &v, long high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
long long & | SimTK::clampInPlace (long long low, long long &v, long long high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
negator< float > & | SimTK::clampInPlace (float low, negator< float > &v, float high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
negator< double > & | SimTK::clampInPlace (double low, negator< double > &v, double high) |
| Check that low <= v <= high and modify v in place if necessary to bring it into that range. More...
|
|
double | SimTK::clamp (double low, double v, double high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
float | SimTK::clamp (float low, float v, float high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
double | SimTK::clamp (int low, double v, int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
float | SimTK::clamp (int low, float v, int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
double | SimTK::clamp (int low, double v, double high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
float | SimTK::clamp (int low, float v, float high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
double | SimTK::clamp (double low, double v, int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
float | SimTK::clamp (float low, float v, int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
unsigned char | SimTK::clamp (unsigned char low, unsigned char v, unsigned char high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
unsigned short | SimTK::clamp (unsigned short low, unsigned short v, unsigned short high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
unsigned int | SimTK::clamp (unsigned int low, unsigned int v, unsigned int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
unsigned long | SimTK::clamp (unsigned long low, unsigned long v, unsigned long high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
unsigned long long | SimTK::clamp (unsigned long long low, unsigned long long v, unsigned long long high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
char | SimTK::clamp (char low, char v, char high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
signed char | SimTK::clamp (signed char low, signed char v, signed char high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
short | SimTK::clamp (short low, short v, short high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
int | SimTK::clamp (int low, int v, int high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
long | SimTK::clamp (long low, long v, long high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
long long | SimTK::clamp (long long low, long long v, long long high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
float | SimTK::clamp (float low, negator< float > v, float high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
double | SimTK::clamp (double low, negator< double > v, double high) |
| If v is in range low <= v <= high then return v, otherwise return the nearest bound; this function does not modify the input variable v. More...
|
|
double | SimTK::stepUp (double x) |
| Interpolate smoothly from 0 up to 1 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
double | SimTK::stepDown (double x) |
| Interpolate smoothly from 1 down to 0 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
double | SimTK::stepAny (double y0, double yRange, double x0, double oneOverXRange, double x) |
| Interpolate smoothly from y0 to y1 as the input argument goes from x0 to x1, with first and second derivatives zero at either end of the interval. More...
|
|
double | SimTK::dstepUp (double x) |
| First derivative of stepUp(): d/dx stepUp(x). More...
|
|
double | SimTK::dstepDown (double x) |
| First derivative of stepDown(): d/dx stepDown(x). More...
|
|
double | SimTK::dstepAny (double yRange, double x0, double oneOverXRange, double x) |
| First derivative of stepAny(): d/dx stepAny(x). More...
|
|
double | SimTK::d2stepUp (double x) |
| Second derivative of stepUp(): d^2/dx^2 stepUp(x). More...
|
|
double | SimTK::d2stepDown (double x) |
| Second derivative of stepDown(): d^2/dx^2 stepDown(x). More...
|
|
double | SimTK::d2stepAny (double yRange, double x0, double oneOverXRange, double x) |
| Second derivative of stepAny(): d^2/dx^2 stepAny(x). More...
|
|
double | SimTK::d3stepUp (double x) |
| Third derivative of stepUp(): d^3/dx^3 stepUp(x). More...
|
|
double | SimTK::d3stepDown (double x) |
| Third derivative of stepDown(): d^3/dx^3 stepDown(x). More...
|
|
double | SimTK::d3stepAny (double yRange, double x0, double oneOverXRange, double x) |
| Third derivative of stepAny(): d^3/dx^3 stepAny(x). More...
|
|
float | SimTK::stepUp (float x) |
| Interpolate smoothly from 0 up to 1 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
float | SimTK::stepDown (float x) |
| Interpolate smoothly from 1 down to 0 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
float | SimTK::stepAny (float y0, float yRange, float x0, float oneOverXRange, float x) |
| Interpolate smoothly from y0 to y1 as the input argument goes from x0 to x1, with first and second derivatives zero at either end of the interval. More...
|
|
float | SimTK::dstepUp (float x) |
| First derivative of stepUp(): d/dx stepUp(x). More...
|
|
float | SimTK::dstepDown (float x) |
| First derivative of stepDown(): d/dx stepDown(x). More...
|
|
float | SimTK::dstepAny (float yRange, float x0, float oneOverXRange, float x) |
| First derivative of stepAny(): d/dx stepAny(x). More...
|
|
float | SimTK::d2stepUp (float x) |
| Second derivative of stepUp(): d^2/dx^2 stepUp(x). More...
|
|
float | SimTK::d2stepDown (float x) |
| Second derivative of stepDown(): d^2/dx^2 stepDown(x). More...
|
|
float | SimTK::d2stepAny (float yRange, float x0, float oneOverXRange, float x) |
| Second derivative of stepAny(): d^2/dx^2 stepAny(x). More...
|
|
float | SimTK::d3stepUp (float x) |
| Third derivative of stepUp(): d^3/dx^3 stepUp(x). More...
|
|
float | SimTK::d3stepDown (float x) |
| Third derivative of stepDown(): d^3/dx^3 stepDown(x). More...
|
|
float | SimTK::d3stepAny (float yRange, float x0, float oneOverXRange, float x) |
| Third derivative of stepAny(): d^3/dx^3 stepAny(x). More...
|
|
double | SimTK::stepUp (int x) |
| Interpolate smoothly from 0 up to 1 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
double | SimTK::stepDown (int x) |
| Interpolate smoothly from 1 down to 0 as the input argument goes from 0 to 1, with first and second derivatives zero at either end of the interval. More...
|
|
std::pair< double, double > | SimTK::approxCompleteEllipticIntegralsKE (double m) |
| Given 0<=m<=1, return complete elliptic integrals of the first and second kinds, K(m) and E(m), approximated but with a maximum error of 2e-8 so at least 7 digits are correct (same in float or double precision). See Elliptic integrals for a discussion. More...
|
|
std::pair< float, float > | SimTK::approxCompleteEllipticIntegralsKE (float m) |
| This is the single precision (float) version of the approximate calculation of elliptic integrals, still yielding about 7 digits of accuracy even though all calculations are done in float precision. More...
|
|
std::pair< double, double > | SimTK::approxCompleteEllipticIntegralsKE (int m) |
| This integer overload is present to prevent ambiguity; it converts its argument to double precision and then calls approxCompleteEllipticIntegralsKE(double). More...
|
|
std::pair< double, double > | SimTK::completeEllipticIntegralsKE (double m) |
| Given 0<=m<=1, return complete elliptic integrals of the first and second kinds, K(m) and E(m), calculated to (roughly) machine precision (float or double). See Elliptic integrals for a discussion. More...
|
|
std::pair< float, float > | SimTK::completeEllipticIntegralsKE (float m) |
| This is the single precision (float) version of the machine-precision calculation of elliptic integrals, providing accuracy to float precision (about 7 digits) which is no better than you'll get with the much faster approximate version, so use that instead! More...
|
|
std::pair< double, double > | SimTK::completeEllipticIntegralsKE (int m) |
| This integer overload is present to prevent ambiguity; it converts its argument to double precision and then calls completeEllipticIntegralsKE(double). More...
|
|