polycore 0.1.0

Fields, prime fields, sparse and dense polynomials, and sparse echelon forms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Dense univariate gcd, Bezout coefficients, resultant, derivative and interpolation.
ring lex x
uni (x - 1)^2*(x + 2) ; (x - 1)*(x + 3)
uni x^4 - 1 ; x^3 + x
uni x^2 + 1 ; x^2 - 2
uni 3*x^5 - 2*x^2 + 7 ; x^3 - 1/2
interp 0 1 2 3 ; 1 2 5 10
interp -1 0 1/2 ; 2 0 1
mod 101
uni (x - 1)^2*(x + 2) ; (x - 1)*(x + 3)
uni x^4 - 1 ; x^3 + x
interp 0 1 2 3 ; 1 2 5 10