[sage-support] Re: is_prime for polynomials over ZZ

2007-03-26 Thread David Harvey
On Mar 26, 2007, at 3:57 PM, Timothy Clemans wrote: Apparently I was incorrectly defining x as an integer, however, I did not get an error the first I tried. incorrect way: x = PolynomialRing(ZZ) correct way: g.x = PolynomialRing(ZZ) The len method works now. Thanks. Be careful though:

[sage-support] Re: is_prime for polynomials over ZZ

2007-03-26 Thread William Stein
On Monday 26 March 2007 1:02 pm, David Harvey wrote: On Mar 26, 2007, at 3:57 PM, Timothy Clemans wrote: Apparently I was incorrectly defining x as an integer, however, I did not get an error the first I tried. incorrect way: x = PolynomialRing(ZZ) correct way: g.x = PolynomialRing(ZZ)

[sage-support] Re: is_prime for polynomials over ZZ

2007-03-26 Thread Justin C. Walker
On Mar 26, 2007, at 13:02 , David Harvey wrote: On Mar 26, 2007, at 3:57 PM, Timothy Clemans wrote: Apparently I was incorrectly defining x as an integer, however, I did not get an error the first I tried. incorrect way: x = PolynomialRing(ZZ) correct way: g.x = PolynomialRing(ZZ)

[sage-support] Re: is_prime for polynomials over ZZ

2007-03-26 Thread Timothy Clemans
Apparently I was incorrectly defining x as an integer, however, I did not get an error the first I tried. incorrect way: x = PolynomialRing(ZZ) correct way: g.x = PolynomialRing(ZZ) The len method works now. Thanks. On 3/26/07, Justin C. Walker [EMAIL PROTECTED] wrote: On Mar 26, 2007, at