[sage-support] Re: clearing the denominator of a rational polynomial

2008-03-07 Thread David
Thank you Justin and Carl. Martin Albrecht came up with a solution: sage: Z.numerator().reduce(I2) 0 David On Mar 6, 6:32 pm, Carl Witty <[EMAIL PROTECTED]> wrote: > On Mar 6, 11:20 am, David <[EMAIL PROTECTED]> wrote: > > > I am trying to use the reduce() command on a rational pollynomial.

[sage-support] Re: clearing the denominator of a rational polynomial

2008-03-06 Thread Carl Witty
On Mar 6, 11:20 am, David <[EMAIL PROTECTED]> wrote: > I am trying to use the reduce() command on a rational pollynomial. I > first clear the denominator by multiplying by the denominator but when > I use reduce() I get an error. When I print out the polynomial it is > no longer rational but SAG

[sage-support] Re: clearing the denominator of a rational polynomial

2008-03-06 Thread Justin C. Walker
On Mar 6, 2008, at 11:20 AM, David wrote: > > I am trying to use the reduce() command on a rational pollynomial. I > first clear the denominator by multiplying by the denominator but when > I use reduce() I get an error. When I print out the polynomial it is > no longer rational but SAGE doesn

[sage-support] Re: clearing the denominator of a rational polynomial

2008-03-06 Thread Martin Albrecht
On Thursday 06 March 2008, David wrote: > I am trying to use the reduce() command on a rational pollynomial. I > first clear the denominator by multiplying by the denominator but when > I use reduce() I get an error. When I print out the polynomial it is > no longer rational but SAGE doesn't lik