메소드 | 설명 | |
---|---|---|
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 |
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 |
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 |