Subject: What do you mean about this data structure
From: Richard Fateman
Date: Tue, 08 Mar 2005 17:13:28 -0800
laurent couraud wrote:
>
>
> Yes. For both. But maybe it is a bug in maxima. I try to solve a system
> Of equation and maxima take more than 450MB and stop with error.
Is it a system of linear equations (linear in the variables, but perhaps
with non-numeric coefficients) or is it a system of polynomials? Or something
else?
Do you have any reason to believe that the system could be solved with, say
10X as much storage?
And this
> After more than 15 hours of calculus.
>
>
>>Are you sure a more efficient representation of CREs will make a big
>>difference?
>
>
> I don't know. It is why I ask you.
The first thing to do is find out what is taking so long. There is an excellent
profiling system in at least one implementation of Maxima (in Allegro
Common Lisp)
>
>
>
>
> I don't know because i don't know Lisp language. But maybe it is possible
> to do memory management for CRE independently of Lisp GC
Maybe you should learn lisp, because otherwise you will end up
re-implementing 15% of it, but with bugs. This is the history
of Mathematica, Maple, and other systems.
>
>
>>Why do you have your own
>>representation of the variables (x1 etc.) instead of using the
>>existing representation?
The existing representation makes up new symbols (gensyms) for
kernels.
>
RJF