1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Needs to be at the root to load macros.
#[cfg(test)]
#[macro_use]
extern crate quickcheck;

mod primes;
mod prime_counter;
mod divisors;
mod prime_factors;
mod coprime_counter;
mod polynomial;

/// Implementations of field operations in cyclotomic fields.
///
/// Each implementation provides the following operations:
///
/// * Addition
/// * Multiplication
/// * Inversion: mapping $x$ to $x^{-1}$
/// * Equality
///
/// The precise semantics of these operations, including whether they can be
/// done in-place, varies for each implementation.
pub mod fields;