[sage-devel] Re: simplify_rational and Pynac

2010-11-15 Thread kcrisman
On Nov 15, 6:40 pm, John H Palmieri wrote: > On Nov 13, 6:45 pm, kcrisman wrote: > > > Maxima has a very large number of very specific types of > > simplifications/expansions.  It allows for quite a bit of control. > > That said, the main reason our Maxima stuff is slow is because we use > > 'p

[sage-devel] Re: simplify_rational and Pynac

2010-11-15 Thread John H Palmieri
On Nov 13, 6:45 pm, kcrisman wrote: > Maxima has a very large number of very specific types of > simplifications/expansions.  It allows for quite a bit of control. > That said, the main reason our Maxima stuff is slow is because we use > 'pexpect' to communicate with it. Nils Bruin has a patch all

[sage-devel] Re: simplify_rational and Pynac

2010-11-15 Thread Ben Goodrich
On Nov 15, 10:56 am, Ben Goodrich wrote: > Thanks for the tip, which seems to have worked. I opened a ticket > (10268), attached my patch, and uploaded a benchmark. Now I have a un-minimal example of using GiNaC's normal function that finishes in about 1 minute when done directly in the GiNaC she

[sage-devel] Re: simplify_rational and Pynac

2010-11-15 Thread Ben Goodrich
On Nov 13, 9:45 pm, kcrisman wrote: > That's a little orthogonal to your main question, which I should know > the answer to, but have forgotten off hand.  Might this be in sage/ > libs/ginac/ ? Thanks for the tip, which seems to have worked. I opened a ticket (10268), attached my patch, and uploa

[sage-devel] Re: simplify_rational and Pynac

2010-11-13 Thread kcrisman
On Nov 13, 1:39 pm, Ben Goodrich wrote: > Hi, > > The simplify_rational method has three choices for Maxima functions, > but I wanted to try GiNaC's normal method described here > > http://www.ginac.de/tutorial/Rational-expressions.html#Rational-expre... > > to see if it was faster. Has someone