Méthode | Description | |
---|---|---|
GreatestCommonDenominator ( ) : int |
Gets the greatest common denominator of all the integers in the source collection.
|
|
GreatestCommonDenominator ( int a, int b ) : int |
Gets the greatest common denominator of the given integers.
|
|
GreatestCommonDenominator ( this |
Gets the greatest common denominator of all the integers in the source collection.
|
|
GreatestCommonDenominator ( ) : long |
Gets the greatest common denominator of all the integers in the source collection.
|
|
GreatestCommonDenominator ( long a, long b ) : long |
Gets the greatest common denominator of the given integers.
|
|
GreatestCommonDenominator ( this |
Gets the greatest common denominator of all the integers in the source collection.
|
|
LeastCommonMultiple ( ) : int |
Gets the least common multiple of all the integers in the source collection.
|
|
LeastCommonMultiple ( int a, int b ) : int |
Gets the least common multiple of the given integers.
|
|
LeastCommonMultiple ( this |
Gets the least common multiple of all the integers in the source collection.
|
|
LeastCommonMultiple ( ) : long |
Gets the least common multiple of all the integers in the source collection.
|
|
LeastCommonMultiple ( long a, long b ) : long |
Gets the least common multiple of the given integers.
|
|
LeastCommonMultiple ( this |
Gets the least common multiple of all the integers in the source collection.
|
|
Mod ( double numerator, double denominator ) : double |
Implementation of the modulo operator using Euclidean division.
|
|
Wrap ( double value, double minimum, double range ) : double |
Wraps a value to a range of values defined by the given minimum value and range. This method wraps the given value based on the assumption that for every pair of values x and y where x-y=range, the values are equivalent. This is probably most widely understood in terms of angles, where 0, 360, 720, etc. are all equivalent angles. If you wanted to wrap an angle such that it is between 120 and 480, for instance, you could call Euclidean.Wrap(angle, 120, 360). |
public static GreatestCommonDenominator ( ) : int | ||
Résultat | int |
public static GreatestCommonDenominator ( int a, int b ) : int | ||
a | int | The first of the given integers. |
b | int | The second of the given integers. |
Résultat | int |
public static GreatestCommonDenominator ( this |
||
source | this |
The collection of integers. |
Résultat | int |
public static GreatestCommonDenominator ( ) : long | ||
Résultat | long |
public static GreatestCommonDenominator ( long a, long b ) : long | ||
a | long | The first of the given integers. |
b | long | The second of the given integers. |
Résultat | long |
public static GreatestCommonDenominator ( this |
||
source | this |
The collection of integers. |
Résultat | long |
public static LeastCommonMultiple ( ) : int | ||
Résultat | int |
public static LeastCommonMultiple ( int a, int b ) : int | ||
a | int | The first of the given integers. |
b | int | The second of the given integers. |
Résultat | int |
public static LeastCommonMultiple ( this |
||
source | this |
The collection of integers. |
Résultat | int |
public static LeastCommonMultiple ( ) : long | ||
Résultat | long |
public static LeastCommonMultiple ( long a, long b ) : long | ||
a | long | The first of the given integers. |
b | long | The second of the given integers. |
Résultat | long |
public static LeastCommonMultiple ( this |
||
source | this |
The collection of integers. |
Résultat | long |
public static Mod ( double numerator, double denominator ) : double | ||
numerator | double | The number to be divided. |
denominator | double | The number to divide by. |
Résultat | double |
public static Wrap ( double value, double minimum, double range ) : double | ||
value | double | The value to be wrapped. |
minimum | double | The minimum value of the range. |
range | double | The size of the range. |
Résultat | double |