Compounds |
struct | syn::Math::ADDEQUAL |
| operator+=. More...
|
struct | syn::Math::EQUAL |
| operator=. More...
|
struct | syn::Math::MULTEQUAL |
| operator *=. More...
|
Functions |
T | Min (const T &x, const T &y) |
| min returns the minimum of 2 values. More...
|
T | Min (const T &x, const T &y, const T &z) |
| min returns the minimum of 3 values. More...
|
T | Min (const T &w, const T &x, const T &y, const T &z) |
| min returns the minimum of 4 values. More...
|
T | Max (const T &x, const T &y) |
| max returns the maximum of 2 values. More...
|
T | Max (const T &x, const T &y, const T &z) |
| max returns the maximum of 3 values. More...
|
T | Max (const T &w, const T &x, const T &y, const T &z) |
| max returns the maximum of 4 values. More...
|
void | lerp (T &result, const U &lerp, const T &a, const T &b) |
| Linear Interpolation between number [a] and [b] use double or float only... More...
|
T | trunc (T val) |
| cut off the digits after the decimal place. More...
|
T | round (T p) |
| round to nearest integer. More...
|
T | aCos (T fValue) |
| return a random number between x1 and x2 RETURNS: random number between x1 and x2. More...
|
float | aCos (float fValue) |
double | aCos (double fValue) |
T | aSin (T fValue) |
float | aSin (float fValue) |
double | aSin (double fValue) |
T | aTan (T fValue) |
float | aTan (float fValue) |
double | aTan (double fValue) |
T | atan2 (T fY, T fX) |
float | aTan2 (float fY, float fX) |
double | aTan2 (double fY, double fX) |
T | cos (T fValue) |
float | cos (float fValue) |
double | cos (double fValue) |
T | exp (T fValue) |
float | exp (float fValue) |
double | exp (double fValue) |
T | log (T fValue) |
double | log (double fValue) |
float | log (float fValue) |
double | pow (double fBase, double fExponent) |
float | pow (float fBase, float fExponent) |
T | sin (T fValue) |
double | sin (double fValue) |
float | sin (float fValue) |
T | tan (T fValue) |
double | tan (double fValue) |
float | tan (float fValue) |
T | sqr (T fValue) |
T | sqrt (T fValue) |
double | sqrt (double fValue) |
T | abs (T iValue) |
double | fast_exp2 (const double val) |
| Linear approx. More...
|
float | fast_log2 (const float f) |
| This code uses IEEE 32-bit floating point representation knowledge to quickly compute approximations to the log2 of a value. More...
|
T | log2 (const T f) |
| log base 2. More...
|
float | volumeToDB (float vol) |
float | DBtoVolume (float db) |
Variables |
const float | PI = 3.14159265358979323846f |
const float | PI_OVER_2 = 1.57079632679489661923f |
const float | PI_OVER_4 = 0.78539816339744830962f |