Click or drag to resize

Euclidean Class

Contains an implementation of greatest common denominator and least common multiple using the Euclidean algorithm.
Inheritance Hierarchy
SystemObject
  GSF.NumericalAnalysisEuclidean

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static class Euclidean
View Source

The Euclidean type exposes the following members.

Methods
 NameDescription
Public Extension MethodGreatestCommonDenominator(IEnumerableInt32) Gets the greatest common denominator of all the integers in the source collection.
Public Extension MethodGreatestCommonDenominator(IEnumerableInt64) Gets the greatest common denominator of all the integers in the source collection.
Public methodStatic memberGreatestCommonDenominator(Int32) Gets the greatest common denominator of all the integers in the source collection.
Public methodStatic memberGreatestCommonDenominator(Int64) Gets the greatest common denominator of all the integers in the source collection.
Public methodStatic memberGreatestCommonDenominator(Int32, Int32) Gets the greatest common denominator of the given integers.
Public methodStatic memberGreatestCommonDenominator(Int64, Int64) Gets the greatest common denominator of the given integers.
Public Extension MethodLeastCommonMultiple(IEnumerableInt32) Gets the least common multiple of all the integers in the source collection.
Public Extension MethodLeastCommonMultiple(IEnumerableInt64) Gets the least common multiple of all the integers in the source collection.
Public methodStatic memberLeastCommonMultiple(Int32) Gets the least common multiple of all the integers in the source collection.
Public methodStatic memberLeastCommonMultiple(Int64) Gets the least common multiple of all the integers in the source collection.
Public methodStatic memberLeastCommonMultiple(Int32, Int32) Gets the least common multiple of the given integers.
Public methodStatic memberLeastCommonMultiple(Int64, Int64) Gets the least common multiple of the given integers.
Public methodStatic memberMod Implementation of the modulo operator using Euclidean division.
Public methodStatic memberWrap Wraps a value to a range of values defined by the given minimum value and range.
Top
See Also