On 1 March 2010 03:51, Kwankyu Lee <ekwan...@gmail.com> wrote:
> Hi,
>
> I want to raise this issue again.
>
> sage: P.<x,y> = PolynomialRing(QQ,2)
> sage: f = 2*x*y+x+y
> sage: f.coefficient({x:1,y:1})
> 2
> sage: c = f.coefficient({x:1,y:1})
> sage: c.parent()
> Multivariate Polynomial Ring in x, y over Rational Field
>
> sage: c = f.monomial_coefficient(x*y)
> sage: c.parent()
> Rational Field
>
> I think there is a consensus that
>
> 1. "f.coefficient({x:1,y:1})" should return the coefficient in the
> base ring

+1



> 2. the method "monomial_coefficient" should accept (perhaps more
> efficient to process) argument "{x:1,y:1}".

+1 (I assume you mean that the old style input will still work)

John

>
> If all agrees, then I will open a ticket (if there is not already
> one).
>
>
> Kwankyu
>
> --
> 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
>

-- 
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