On Oct 13, 6:51 am, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote:
> I'm wondering if we could have a vote on preferred syntax.  I'm not going to
> describe the parameters because if they are not clear enough from context, it
> probably isn't a good parameter choice :) :
>
> sage: P.<v,w,x,y,z>=ZZ[]
> sage: f=(1-v)*(1-2*w)*(1-3*x); f
> -6*v*w*x + 2*v*w + 3*v*x + 6*w*x - v - 2*w - 3*x + 1
> ##############
> #  Alternative Number 1
> ##############
> sage: f.polynomial_coefficient({w:0,v:1})
> 3*x - 1

As you might guess, I vote for #1.

Carl


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to