Computes the greatest common divisor for an integer enumeration
public static int GreatestCommonDiv(this IEnumerable<int> src)| parameter | description |
|---|---|
| src | Source collection |
The greatest common divisor for all items
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions