Subject: does Maxima have a way to be run from Octave?
From: Doug Stewart
Date: Wed, 11 May 2005 19:06:11 -0500
wow!!!
this is from Octave back to Octave.
>> maxima(' LAPLACE(COSH(A*T),T,S);')
ans = A=S/(S^2-A^2);
:-) :-)
I wrote a little script writer in octave to make a in.mac file
I then executed a batch file from inside Octave
Maxima wrote the answer to a separate file.
I then read the answer back into octave
thanks for a great program!!!
Viktor T. Toth wrote:
>Just run MAXIMA from the command line, and pipe its input and output
>appropriately.
>
>You can even do this on Windows (the program to run is MAXIMA.BAT, located
>in the BIN subdirectory under your MAXIMA installation directory.) For
>instance:
>
>C:\Program Files\Maxima-5.9.1\bin>copy con stuff.mac
>diff(x^3,x);
>^Z
> 1 file(s) copied.
>
>C:\Program Files\Maxima-5.9.1\bin>type stuff.mac | maxima.bat >result.txt
>
>C:\Program Files\Maxima-5.9.1\bin>type result.txt
>Maxima 5.9.1 http://maxima.sourceforge.net
>Using Lisp Kyoto Common Lisp GCL 2.6.5 (aka GCL)
>Distributed under the GNU Public License. See the file COPYING.
>Dedicated to the memory of William Schelter.
>This is a development version of Maxima. The function bug_report()
>provides bug reporting information.
>(%i1)
> 2
>(%o1) 3 x
>(%i2)
>C:\Program Files\Maxima-5.9.1\bin>
>
>
>Viktor
>
>
>
>
>-----Original Message-----
>From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
>Behalf Of Doug Stewart
>Sent: Wednesday, May 11, 2005 6:29 PM
>Cc: maxima@math.utexas.edu
>Subject: does Maxima have a way to be run from Octave?
>
>Is there a way to run Maxima from another program and get some results
>back to the calling program?
>Doug Stewart
>
>_______________________________________________
>
>