[sage-devel] Re: gcd in QQ and ZZ

2009-01-05 Thread John Cremona
2009/1/5 Martin Rubey : > > (not sure whether this belongs to sage-support or sage-devel) > > I'm preparing class for tomorrow, and ran across something I do not quite > understand: > > sage: f=ZZ[x].random_element(10) > sage: g=ZZ[x].random_element(10) > sage: timeit('gcd(QQ[x](f),QQ[x](g))') > 1

[sage-devel] Re: gcd in QQ and ZZ

2009-01-05 Thread Martin Rubey
"John Cremona" writes: > 2009/1/5 Martin Rubey : > > > > (not sure whether this belongs to sage-support or sage-devel) > > > > I'm preparing class for tomorrow, and ran across something I do not quite > > understand: > > > > sage: f=ZZ[x].random_element(10) > > sage: g=ZZ[x].random_element(10) >