On Mon, Nov 24, 2008 at 4:46 PM, Tim Lahey <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a specific way to add rules (and apply them) to rewrite > expressions in Sage? > > Such as, log(a)-log(b) = log(a/b) > > I need this (and others) in order to properly compare the integration > results from Sage to the list of integrals I have. I'm trying to put > together a suite of integration tests for both correctness and timing.
I don't know if one can do the above (maybe with pynac it is possible). However, in the meantime could you at least "improperly" compare the results for "pseudo"-correctness by evaluating both answers at a bunch of randomly chosen points and see if they differ by a constant? William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---