Subject: maxima is more than 500 times slower than maple
From: Stavros Macrakis
Date: Fri, 26 Apr 2013 10:52:52 -0400
Comments in-line.
On Wed, Apr 24, 2013 at 2:12 PM, Dmitry Shkirmanov <piminusmeson at bk.ru>wrote:
> ...My guess is that you are doing a vastly different computation,
> perhaps repeating unnecessary simplifications, in your Maxima
> specifications.
> I am doing THE SAME computations in maxima an maple, the programs are
> identical.
You may be doing the same *mathematical* computation. That is not
necessarily the same computation. expand((x+1)^1000) and rat(x+1)^1000 are
the same mathematical computation, but the second is 30x faster.
To perform your calculation in the rat/CRE representation, convert your
starting formulae to CRE formulae using rat, and then use ratsubst instead
of subst. CRE is probably the right representation for your formulae.
-s