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.152 -- Release Build+4754c16d095f1ea248ac7e06a177a4f7a3e6db16
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