Method | Description | |
---|---|---|
AlmostEqual ( double a, double b, double differenceAllowed ) : bool | ||
BinomialCoefficient ( int n, int k ) : long |
Calculates the binomial coefficient n above k.
|
|
DegreesToRadians ( double degrees ) : double |
Convert degrees to radians
|
|
Factorial ( int n ) : long |
Calculates the factorial of a given natural number.
|
|
GetDeltaAngle ( double StartAngle, double EndAngle ) : double | ||
NextPowerOfTwo ( double n ) : double |
Returns the next power of two that is larger than the specified number.
|
|
NextPowerOfTwo ( float n ) : float |
Returns the next power of two that is larger than the specified number.
|
|
NextPowerOfTwo ( int n ) : int |
Returns the next power of two that is larger than the specified number.
|
|
NextPowerOfTwo ( long n ) : long |
Returns the next power of two that is larger than the specified number.
|
|
RadiansToDegrees ( double radians ) : double |
Convert radians to degrees
|
|
Range0ToTau ( double Value ) : double | ||
Swap ( double &a, double &b ) : void |
Swaps two double values.
|
|
Swap ( float &a, float &b ) : void |
Swaps two float values.
|
public static AlmostEqual ( double a, double b, double differenceAllowed ) : bool | ||
a | double | |
b | double | |
differenceAllowed | double | |
return | bool |
public static BinomialCoefficient ( int n, int k ) : long | ||
n | int | The n. |
k | int | The k. |
return | long |
public static DegreesToRadians ( double degrees ) : double | ||
degrees | double | An angle in degrees |
return | double |
public static Factorial ( int n ) : long | ||
n | int | The number. |
return | long |
static public GetDeltaAngle ( double StartAngle, double EndAngle ) : double | ||
StartAngle | double | |
EndAngle | double | |
return | double |
public static NextPowerOfTwo ( double n ) : double | ||
n | double | The specified number. |
return | double |
public static NextPowerOfTwo ( float n ) : float | ||
n | float | The specified number. |
return | float |
public static NextPowerOfTwo ( int n ) : int | ||
n | int | The specified number. |
return | int |
public static NextPowerOfTwo ( long n ) : long | ||
n | long | The specified number. |
return | long |
public static RadiansToDegrees ( double radians ) : double | ||
radians | double | An angle in radians |
return | double |
static public Range0ToTau ( double Value ) : double | ||
Value | double | |
return | double |
public static Swap ( double &a, double &b ) : void | ||
a | double | The first value. |
b | double | The second value. |
return | void |
public static Swap ( float &a, float &b ) : void | ||
a | float | The first value. |
b | float | The second value. |
return | void |