How can I reduce the coefficients modulo a certain integer in a matrix of polynomials?
For eg, if I have a 2x1 matrix of polynomials,
A = matrix([[25x^3+50x^2+1],[18x+11]])
how do I reduce all the coefficients modulo 2 so that I have the matrix,
A = matrix([[x^3+1],[1]])