Skip to main content

gcd

Function gcd 

Source
pub fn gcd(a: Cx, b: Cx) -> Cx
Expand description

The Gaussian-integer greatest common divisor, by Euclid with the nearest Gaussian integer as the quotient. gcd(0, 0) is 0.