Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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]])