- Improve implementation of
Display
to handle e.g., "1-i" and "-i".
- Return a
usize
for thenorm()
, since it is always a positive real number. - Add
get_pos_g_ints
andget_pos_g_primes
functions to return iterators of Gaussian integers and primes with positive real parts. - Add
mod-arith
example demonstrating properties of modular arithmetic. - Implement
FromStr
forGaussianInt
.
- Implement
num_traits::One
andnum_traits::Zero
forGaussianInt
. - Require integer types of
Gaussiant<T>
to implementnum_integer::Integer
. - Implement assignment operators in
num_traits::NumAssignOps
.
- Add new example to show basic plotting.
- Edit documentation.
- Use
primal
inis_gaussian_prime
algorithm. Much, much faster! - Added a new example
prime1mod4
to compute a certain kind of Gaussian prime. - Rename
is_divisor_of
method todivides
. - Add
units
function to return ±1, ±i. - Add
is_associated
method.
Add gaussint
macro for creating new GaussianInt
s.
Fix the status badge on crates.io.
- Add a method to test for congruence between two Gaussian integers, modulo a third.
- Add methods to test for "even" and "odd" Gaussian integers.
Lost to time...