Gemstone Numeric Library
Show/Hide TOC

# EuclideanGreatestCommonDenominator(Int64) Method

Gets the greatest common denominator of all the integers in the source collection.

## Definition

Namespace: Gemstone.Numeric.Analysis
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.156 -- Release Build+82008765a27c9679d42964f049db865fa540531c
C#
View Source Request Example

    public static long GreatestCommonDenominator(
    	params long[] source
    )

VB
View Source Request Example

    Public Shared Function GreatestCommonDenominator (
    	ParamArray source As Long()
    ) As Long

C++
View Source Request Example

    public:
    static long long GreatestCommonDenominator(
    	... array<long long>^ source
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.Analysis.Euclidean.GreatestCommonDenominator = function(... source);

#### Parameters

source Int64
  The collection of integers.

#### Return Value

Int64
The greatest common denominator.

## See Also

#### Reference

Euclidean Class
GreatestCommonDenominator Overload
Gemstone.Numeric.Analysis Namespace