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.160 -- Release Build+79afb0c87bd1bdc550b0321e3623ddc7648c3bfe
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