Nils Bruin <nbr...@sfu.ca> writes:
> Since multivariate polynomials accept their arguments also "unpacked"
> there is a workaround that works in all cases:
>
> Pu.<x>=QQ[]
> Pm.<y>=PolynomialRing(QQ,1,'y')
> P2.<u,v>=QQ[]
>
> x(*[1])
> y(*[1])
> u(*[1,2])

Aha, good point! Unfortunately I imagine that most Sage newbies don't
know how to unpack lists/dicts, but indeed this is the better way to do
it. But since we already support tuples for all polynomials and lists
for multivariate polynomials, I guess we might as well support lists for
univariate polynomials too, no?

-Keshav

----
Join us in #sagemath on irc.freenode.net !

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to