Provides constants and static methods for trigonometric, logarithmic, and statistical functions.
More...
|
| static double | Abs (double dValue) |
| | Returns the absolute value of a double-precision floating-point number.
|
| static float | Abs (float fValue) |
| | Returns the absolute value of a single-precision floating-point number.
|
| static int | Abs (int iValue) |
| | Returns the absolute value of a 32-bit signed integer.
|
| static long long | Abs (long long llValue) |
| | Returns the absolute value of a 64-bit signed integer.
|
| static double | Acos (double dValue) |
| | Returns the angle whose cosine is the specified number.
|
| static double | Asin (double dValue) |
| | Returns the angle whose sine is the specified number.
|
| static double | Atan (double dValue) |
| | Returns the angle whose tangent is the specified number.
|
| static double | Atan2 (double dY, double dX) |
| | Returns the angle whose tangent is the quotient of two specified numbers.
|
| static double | Cbrt (double dValue) |
| | Returns the cube root of a specified number.
|
| static double | Ceiling (double dValue) |
| | Returns the smallest integral value that is greater than or equal to the specified number.
|
| static double | Clamp (double dValue, double dMin, double dMax) |
| | Returns a value clamped to the inclusive range of min and max.
|
| static int | Clamp (int iValue, int iMin, int iMax) |
| | Returns a value clamped to the inclusive range of min and max.
|
| static long long | Clamp (long long llValue, long long llMin, long long llMax) |
| | Returns a value clamped to the inclusive range of min and max.
|
| static double | Cos (double dValue) |
| | Returns the cosine of the specified angle.
|
| static double | Cosh (double dValue) |
| | Returns the hyperbolic cosine of the specified angle.
|
| static double | Exp (double dValue) |
| | Returns e raised to the specified power.
|
| static double | ExponentialMovingAverage (const Collections::Generic::List< double > &listValues, int iPeriod, double dSmoothing=2.0) |
| | Computes the exponential moving average (EMA) value for the sequence.
|
| static Collections::Generic::List< double > | ExponentialMovingAverageSeries (const Collections::Generic::List< double > &listValues, int iPeriod, double dSmoothing=2.0) |
| | Computes the rolling exponential moving average (EMA) series across the sequence.
|
| static double | Floor (double dValue) |
| | Returns the largest integral value less than or equal to the specified number.
|
| static double | Log (double dValue) |
| | Returns the natural (base e) logarithm of a specified number.
|
| static double | Log (double dValue, double dNewBase) |
| | Returns the logarithm of a specified number in a specified base.
|
| static double | Log10 (double dValue) |
| | Returns the base 10 logarithm of a specified number.
|
| static double | Log2 (double dValue) |
| | Returns the base 2 logarithm of a specified number.
|
| static double | Max (double dVal1, double dVal2) |
| | Returns the larger of two double-precision floating-point numbers.
|
| static float | Max (float fVal1, float fVal2) |
| | Returns the larger of two single-precision floating-point numbers.
|
| static int | Max (int iVal1, int iVal2) |
| | Returns the larger of two 32-bit signed integers.
|
| static long long | Max (long long llVal1, long long llVal2) |
| | Returns the larger of two 64-bit signed integers.
|
| static double | Mean (const Collections::Generic::List< double > &listValues) |
| | Computes the arithmetic mean of a sequence of double values.
|
| static double | Min (double dVal1, double dVal2) |
| | Returns the smaller of two double-precision floating-point numbers.
|
| static float | Min (float fVal1, float fVal2) |
| | Returns the smaller of two single-precision floating-point numbers.
|
| static int | Min (int iVal1, int iVal2) |
| | Returns the smaller of two 32-bit signed integers.
|
| static long long | Min (long long llVal1, long long llVal2) |
| | Returns the smaller of two 64-bit signed integers.
|
| static double | MovingAverage (const Collections::Generic::List< double > &listValues, int iPeriod) |
| | Computes the simple moving average (SMA) over the final window of length iPeriod.
|
| static Collections::Generic::List< double > | MovingAverageSeries (const Collections::Generic::List< double > &listValues, int iPeriod) |
| | Computes the rolling simple moving average (SMA) series across all values.
|
| static double | Pow (double dBase, double dExponent) |
| | Returns a specified number raised to the specified power.
|
| static double | Round (double dValue) |
| | Rounds a double-precision floating-point value to the nearest integral value.
|
| static double | Round (double dValue, int iDigits) |
| | Rounds a double-precision floating-point value to a specified number of fractional digits.
|
| static int | Sign (double dValue) |
| | Returns an integer that indicates the sign of a double-precision floating-point number.
|
| static int | Sign (int iValue) |
| | Returns an integer that indicates the sign of a 32-bit signed integer.
|
| static int | Sign (long long llValue) |
| | Returns an integer that indicates the sign of a 64-bit signed integer.
|
| static double | Sin (double dValue) |
| | Returns the sine of the specified angle.
|
| static double | Sinh (double dValue) |
| | Returns the hyperbolic sine of the specified angle.
|
| static double | Sqrt (double dValue) |
| | Returns the square root of a specified number.
|
| static double | StandardDeviation (const Collections::Generic::List< double > &listValues, bool bIsSample=false) |
| | Computes the standard deviation of a sequence of double values.
|
| static double | StdDev (const Collections::Generic::List< double > &listValues, bool bIsSample=false) |
| | Computes the standard deviation of a sequence of double values (abbreviated alias).
|
| static double | Tan (double dValue) |
| | Returns the tangent of the specified angle.
|
| static double | Tanh (double dValue) |
| | Returns the hyperbolic tangent of the specified angle.
|
| static double | Truncate (double dValue) |
| | Calculates the integral part of a specified double-precision floating-point number.
|
| static double | Variance (const Collections::Generic::List< double > &listValues, bool bIsSample=false) |
| | Computes the variance of a sequence of double values.
|
Provides constants and static methods for trigonometric, logarithmic, and statistical functions.
Implements IEEE 754 standard mathematical primitives and high-order time-series statistics with zero STL leakage and standard DotNetDupe memory safety guarantees.
Definition at line 19 of file Math.h.