Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public static BinomialCoefficient ( int n, int k ) : long | ||
n | int | The n. |
k | int | The k. |
Результат | long |
public static DegreesToRadians ( double degrees ) : double | ||
degrees | double | An angle in degrees |
Результат | double |
public static Factorial ( int n ) : long | ||
n | int | The number. |
Результат | long |
static public GetDeltaAngle ( double StartAngle, double EndAngle ) : double | ||
StartAngle | double | |
EndAngle | double | |
Результат | double |
public static NextPowerOfTwo ( double n ) : double | ||
n | double | The specified number. |
Результат | double |
public static NextPowerOfTwo ( float n ) : float | ||
n | float | The specified number. |
Результат | float |
public static NextPowerOfTwo ( int n ) : int | ||
n | int | The specified number. |
Результат | int |
public static NextPowerOfTwo ( long n ) : long | ||
n | long | The specified number. |
Результат | long |
public static RadiansToDegrees ( double radians ) : double | ||
radians | double | An angle in radians |
Результат | double |
static public Range0ToTau ( double Value ) : double | ||
Value | double | |
Результат | double |
public static Swap ( double &a, double &b ) : void | ||
a | double | The first value. |
b | double | The second value. |
Результат | void |
public static Swap ( float &a, float &b ) : void | ||
a | float | The first value. |
b | float | The second value. |
Результат | void |