Expand description

Gaussian integers in Rust.

A Gaussian integer is a complex number whose real and imaginary parts are both integers.

Macros

Creates a new GaussianInt.

Structs

A Gaussian integer is a complex number whose real and imaginary parts are both integers.

Functions

Returns an iterator of all Gaussian integers a + bi where |a|,|b| ≤ n.

Returns an iterator of all Gaussian primes a + bi where |a|,|b| ≤ n.

Returns an iterator of all Gaussian integers a + bi where a is positive (or zero) and |b| ≤ n.

Returns an iterator of all Gaussian primes a + bi where a is positive (or zero) and |b| ≤ n.