Euclidean Class

Contains an implementation of greatest common denominator and least common multiple using the Euclidean algorithm.

Definition

Namespace: Gemstone.Numeric.Analysis
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.171 -- Release Build+20915b5e5c2b832e94890ea4187a61c474a2582a
public static class Euclidean
Inheritance
Object    Euclidean

Methods

GreatestCommonDenominator(IEnumerableInt32) Gets the greatest common denominator of all the integers in the source collection.
GreatestCommonDenominator(IEnumerableInt64) Gets the greatest common denominator of all the integers in the source collection.
GreatestCommonDenominator(Int32) Gets the greatest common denominator of all the integers in the source collection.
GreatestCommonDenominator(Int64) Gets the greatest common denominator of all the integers in the source collection.
GreatestCommonDenominator(Int32, Int32) Gets the greatest common denominator of the given integers.
GreatestCommonDenominator(Int64, Int64) Gets the greatest common denominator of the given integers.
LeastCommonMultiple(IEnumerableInt32) Gets the least common multiple of all the integers in the source collection.
LeastCommonMultiple(IEnumerableInt64) Gets the least common multiple of all the integers in the source collection.
LeastCommonMultiple(Int32) Gets the least common multiple of all the integers in the source collection.
LeastCommonMultiple(Int64) Gets the least common multiple of all the integers in the source collection.
LeastCommonMultiple(Int32, Int32) Gets the least common multiple of the given integers.
LeastCommonMultiple(Int64, Int64) Gets the least common multiple of the given integers.
Mod Implementation of the modulo operator using Euclidean division.
Wrap Wraps a value to a range of values defined by the given minimum value and range.

See Also