1 | initial version |
You just have to define your polynomials as elements of the polynomial ring $\mathbb{F}_2[x]$ as follows:
sage: R.<x> = GF(2)[]
sage: x.parent()
Univariate Polynomial Ring in x over Finite Field of size 2 (using GF2X)
sage: A = matrix([[25*x^3+50*x^2+1],[18*x+11]])
sage: A
[x^3 + 1]
[ 1]