Re: Maxima for Windows?



Rupert wrote:
Jaap Spies wrote:
Axel Vogt wrote:
Jean-Marc Gulliet wrote:
At least a related question: does it admit a call from C programs
(in the sense of a DLL) or has it any interfaces to use it from
external?

A related answer. Maxima comes as part of SAGE (Software for Algebra and
Geometry Experimentation). From SAGE you can call any Maxima function, etc.

See http://sage.math.washington.edu/sage/

Jaap

Another option is maxima's "batch mode". If you just want something
quick and dirty, output a script into a file and then exec maxima -b on
the file, reading back the stdout (or get your maxima script to perform
some write operations). This is obviously not something you want to do
lots of times, so it would only be useful if you had some high-level
operation you could call from maxima.

I don't believe there's a straight library in maxima itself for
calling, say, the "factor" routine - it seems unlikely as maxima is
written in lisp, which I shouldn't imagine lends itself to exporting a
C-like library.

Finally, I should point out that if you want to perform a lower level
operation, there might be other libraries you can use. For example
arbitrary precision integer/floating pt. arithmetic are handled by lots
of libraries including e.g. GMP.

Hope this is of interest,

Rupert


Thanks for the related answers to the related question.

However I would like to avoid file transfer or communication. Say I want
to call Maxima from Maple (which has a C interface for programming). It
would be convenient to do it without writing to files, but sending or receiving strings directly. I will try to look at SAGE.

Axel
.



Relevant Pages

  • Re: Maxima for Windows?
    ... At least a related question: does it admit a call from C programs ... From SAGE you can call any Maxima function, ... reading back the stdout (or get your maxima script to perform ... there might be other libraries you can use. ...
    (sci.math.symbolic)
  • Re: Axiom or Maxima?
    ... I think maxima can be a good tool for math education, ... all the libraries available for python and a good ffi with c and c++. ... I don't know much about Axiom but perhaps Axiom is better for ...
    (comp.lang.lisp)
  • Re: Maxima for Windows?
    ... (in the sense of a DLL) ... or has it any interfaces to use it from ... Maxima comes as part of SAGE. ...
    (sci.math.symbolic)

Loading