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. = PolynomialRing(ZZ)
The len method works now. Thanks.
On 3/26/07, Justin C. Walker <[EMAIL PROTECTED]> wrote:
>
>
> On Mar 26, 2007, a
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. = Polynomi
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. = Polynomia
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. = PolynomialRing(ZZ)
>
> The len method works now. Thanks.
Be careful t
On Mar 26, 2007, at 12:24 , Timothy Clemans wrote:
>
> I just want to tell the user of my factoring apps when the quadratic
> that they submit is prime. I've tried is_prime, and
> len(factor(x^2+B*x+C)) (thinking an answer of one would mean its
> prime, but it does not mean that). What is the be