polycore 0.1.3

Fields, prime fields, sparse and dense polynomials, and sparse echelon forms.
Documentation
1
2
3
4
5
6
7
8
9
10
use polycore::{Gf, pow};

type F = Gf<101>;

fn main() {
    for a in [2, 3, 10, 57] {
        let x = F::new(a);
        println!("{a}^100 = {} mod 101", pow(&x, 100));
    }
}