GcdBigIntIterableExtension extension

Extension on Iterable of BigInt providing gcd.

on

Methods

gcd() → BigInt

Available on Iterable<BigInt>, provided by the GcdBigIntIterableExtension extension

Returns greatest common divisor (GCD) of values in this Iterable. This is the largest positive integer that divides all numbers.