maxima is more than 500 times slower than maple



On 4/24/2013 11:12 AM, Dmitry Shkirmanov wrote:
>
>> Hi!
>> I guess you were running it on something like clisp compiled maxima.
> No, i am using sbcl.
> $ maxima
> Maxima 5.30.0 http://maxima.sourceforge.net
> using Lisp SBCL 1.0.40.0.debian
>
>> 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.
>
>> A way to do substitutions fast may be to define functions and then 
>> bind parameters. 
> I believe that substitutions are not a problem.  The problem is a last 
> simplification that must simplify expression to zero.

There may be a better approach which is to simplify things into CRE form 
using rat().
Maple does clever things with shared substructure that Maxima will do 
only in rat().   Using factor()  should not cause something to
be zero if it is not already zero.

> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima