Re: [sage-devel] quotient field

2010-10-31 Thread Willem Jan Palenstijn
On Sun, Oct 31, 2010 at 06:44:01AM -0700, mhs wrote: > Hi SAGE developers, > > I have a question regarding quotient fields of polynomial rings. I > want to iterate a polynomial in two variables over a finite field and > need to mod out higher powers. So I defined a finite field, a > polynomial rin

Re: [sage-devel] quotient field

2010-10-31 Thread David Roe
It's just a question of __call__ not being defined. It should be really easy to fix. I suggest making a trac ticket and then looking at sage.rings.polynomial.polynomial_quotient_ring_element and defining __call__ to do function composition. Make sure you raise a TypeError if the input is an elem

[sage-devel] quotient field

2010-10-31 Thread mhs
Hi SAGE developers, I have a question regarding quotient fields of polynomial rings. I want to iterate a polynomial in two variables over a finite field and need to mod out higher powers. So I defined a finite field, a polynomial ring, a quotient ring and a polynomial in it: F.=FiniteField(5) R.=