Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 11 years ago

gundamlh gravatar image

Polynomial coefficient vector to symbolic polynomial

link text

matlab: poly2sym([1 3 2])
ans =
x^2 + 3*x + 2

I couldn't find a similar function in SAGE. Fortunately this small function is quite easy, consisting only one loop.

Thanks in advance!

click to hide/show revision 2
No.2 Revision

Polynomial coefficient vector to symbolic polynomial

link text

matlab: poly2sym([1 3 2])
ans =
x^2 + 3*x + 2

I couldn't find a similar function in SAGE. Fortunately this small function is quite easy, consisting of only one loop.

Thanks in advance!