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.165 -- Release Build+fed221202c0e8c0202a8935c553b1d6d74b53316
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