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.162 -- Release Build+b0b1f9c5171a2883e4373a312a94f91e409594f1
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