gcd

hep_spt.gcd(a, b, *args)[source]

Calculate the greatest common divisor of a set of numbers.

Parameters
Returns

Greatest common divisor of a set of numbers.

Return type

int or numpy.ndarray(int)

Raises

TyperError – If the arrays do not contain integers or if the shapes do not coincide.