opps, I should have read the docs on that one.
On Mar 26, 1:14 am, Simon King wrote:
> Hi Ben,
>
> On 2012-03-26, Ben Hutz wrote:
>
> > In working with polynomials
>
> > R.=PolynomialRing(ZZ)
> > F=x^2*y-2*x^2-x
> > print F.coefficients()[0].parent()
> > print F.coefficient({x:2,y:1}).parent()
>
On Monday 26 Mar 2012, Simon King wrote:
> Hi Ben,
>
> On 2012-03-26, Ben Hutz wrote:
> > In working with polynomials
> >
> > R.=PolynomialRing(ZZ)
> > F=x^2*y-2*x^2-x
> > print F.coefficients()[0].parent()
> > print F.coefficient({x:2,y:1}).parent()
> >
> > The first returns the base ring (Z
Hi Ben,
On 2012-03-26, Ben Hutz wrote:
> In working with polynomials
>
> R.=PolynomialRing(ZZ)
> F=x^2*y-2*x^2-x
> print F.coefficients()[0].parent()
> print F.coefficient({x:2,y:1}).parent()
>
> The first returns the base ring (ZZ) and the second the multivariable
> polynomial ring.
The documen