[Maxima] building dll from maxima to be called by Excel VBA

Richard Fateman fateman at cs.berkeley.edu
Wed Jan 10 09:56:08 CST 2007


Yes, maxima programs can be compiled and run faster in maxima.

Putting maxima programs into the form of a dll  (to be called from excel)
would require some work, and some expertise. There are examples of how to do
this in the documentation for Allegro Common Lisp  (specifically, linking
Excel to lisp), but most of the maxima community uses other lisp
implementations.  While compiled maxima may be faster than interpreted
Mathcad, it would not be my first choice if speed were important and the
program was “small”.

 

RJF

 

 

  _____  

From: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu]
On Behalf Of Francois HILLION
Sent: Wednesday, January 10, 2007 7:42 AM
To: maxima at math.utexas.edu
Subject: [Maxima] building dll from maxima to be called by Excel VBA

 

Hello,

I have developped a small numerical model with Mathcad for the ease of
upgrading and debugging. The model has now to run numerous calculations,
which are always very tedious to trigger by-hand. My idea was to feed the
model and get back results through Excel. 

Although it is working, it is really too slow. The only way to get it faster
is to compile the model and have it as a dll. Unfortunately Mathcad does not
offer option ... As I would prefer not rewriting everything in fortran or
c++, I searched on the web for other softwares and found Maxima. I am rather
tempted but first I would like to know if it is possible to compile a Maxima
batch file (.mc, .mac) ?

Thanks for your help,

Francois

___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes
sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070110/9bd5fa3b/attachment.htm 


More information about the Maxima mailing list