lisp and Maxima



Dear Barton ,

Thx for your answer.
I usually work with batch files.

Is it a good choice to have a program with some code in Lisp and some 
code in Maxima ?

Should I keep Lisp code in different file then Maxima code ( as a package) ?

Is it a good idea to make Maxima function with Lisp code inside ?

Adam



> If you need to work with arrays, IEEE32 floats, IEEE32 complex floats,
> hash tables, or do a great deal of complex number big float
> arithmetic, use CL, not Maxima. Also, if you need to define a data
> structure, such as a something similar to a Pascal record, use
> CL. Finally, if you want to write OO code, use CL.
> 
> If the code will mostly do calculus-like things (expand, factor,
> solve, integrate, substitute, ...), use Maxima. It's likely that your
> code will be no longer, and will be easier to write and debug. Also, 
> you'll
> have fewer problems with confusion over expressions in CRE form or
> general form. Finally, more users will understand your code and be
> able to improve it. Don't assume that compiled CL code will run 10
> times faster than compiled Maxima code. It's unlikely that it will.
> 
> Also, it's possible to write simplifying functions in Maxima.
> 
> Barton
> 
> maxima-bounces at math.utexas.edu wrote on 11/09/2009 02:48:41 PM:
> 
>> [image removed] 
>>
>> [Maxima] lisp and Maxima
>>
>> Adam Majewski 
>>
>> to:
>>
>> maxima
>>
>> 11/09/2009 02:49 PM
>>
>> Sent by:
>>
>> maxima-bounces at math.utexas.edu
>>
>> Hi,
>>
>> There are some possibilities of using Lisp/Maxima :
>> - Lisp function or whole Lisp unit
>> - mixed Maxima and Lisp code
>> - only Maxima code.
>>
>> Is it possible to give some hints what should one choose ?
>>
>> Regards
>>
>> Adam
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima