<< CL_fsolveb Math CL_integrate >>

CelestLab >> Math > CL_gcd

CL_gcd

Greatest common divisor (gcd or pgcd)

Calling Sequence

ngcd = CL_gcd(n1,n2)

Description

Parameters

n1:

Integer (1 x N)

n2:

Integer(1 x N)

ngcd:

Greatest common divisor of n1 and n2 (1 x N)

Authors

Examples

n1 = [12,15,19];
n2 = [4,5,7];
[ngcd]=CL_gcd(n1,n2)

Report an issue
<< CL_fsolveb Math CL_integrate >>