axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] FW: [Maxima]


From: Bob McElrath
Subject: Re: [Axiom-mail] FW: [Maxima]
Date: Thu, 26 Aug 2004 20:04:47 -0700
User-agent: Mutt/1.5.6+20040523i

I can't see a way to get maxima to read a file and echo the file and the
results.  You can just dump all commands to it at once though and then
get the output via the variables d1, d2...

hmmm but I don't know how to tell how many statements are in a given
block...

Bill Page address@hidden wrote:
> Bob,
> 
> In the example Maxima input and output that you sent
> I do not see any way to distinguish a Maxima code
> chunk containing multiple commands, e.g.
> 
> \begin{maxima}
> FACTOR(x^2+2*x+1);
> EXPAND(%);
> \end{maxima}
> 
> from two separate chunks, like this.
> 
> \begin{maxima}
> FACTOR(x^2+2*x+1);
> \end{maxima}
> 
> \begin{maxima}
> EXPAND(%);
> \end{maxima}
> 
> It is necessary to ensure somehow that the output is
> appropriately delimited. That is one of the benefits
> of structuring the input file in the following way:
> 
> > setup environment
> > read file1
> > read file2
> > read file3
> > ...
> > quit nicely
> 
> for both Axiom and Reduce. The other benefits have
> to do with the way that these systems treat file-
> oriented inputs in a non-interactive mode as opposed
> the way they treat sysin. And it seems necessary
> also for the case of compiling library modules etc.
> 
> Is there a way to do this with Maxima?
> 
> Bill.
--
Cheers,
Bob McElrath [Univ. of California at Davis, Department of Physics]
    
    It is unpatriotic to question the Kleptocracy.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]