Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Applying a two-variable polynomial to matrices

A naive question: I have in sage two commuting square matrices X and Y over a ring R, and a polynomial P in two variables x and y over R. How can I ask sage to compute P(X,Y)?

Thanks.