Hey,
I created a polynomial ring object:
R.<x,y>=QQbar[]
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"?
| 1 | initial version |
Hey,
I created a polynomial ring object:
R.<x,y>=QQbar[]
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"?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.