.denominator() gave me 1. Sage prints out the rational function as R1 + .. + R2 where Ri is a rational function and each having a different denominator. Sage doesn't seem to be automatically writing this as one fraction with a common denominator, could that be the reason it is returning 1 for the denominator?
On Sep 4, 2:06 pm, "Justin C. Walker" <[email protected]> wrote: > On Sep 4, 2010, at 13:54 , Cary Cherng wrote: > > > And thats another problem. How do I tell sage to give me the > > denominator of this rational function? > > In general, the .denominator and .numerator methods will (should) give > you the components of a "rational" element. > > HTH > > Justin > > -- > Justin C. Walker, Curmudgeon at Large > Institute for the Absorption of Federal Funds > ----------- > If it weren't for carbon-14, I wouldn't date at all. > ----------- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
