Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

create polynomial from list of coefficients


I created a polynomial ring object:


and now I wonder how should I create a polynomial from a list of coefficients: assume that I have something like [{x: 5, y: 4}, {x: 2, y: 0}]. How to transform it to "x^5 y^4 + x^2"?