"depends" problem of variables with subscripts



See http://www.cs.berkeley.edu/~fateman/temp/subsuper.lisp

For a solution to this problem using nformat.
It could be installed by you, or by one of the CVS owners.

It makes atoms of the form subsup x 1 2    display with sub and super
scripts.
It also shows how to make them.

RJF
 

> -----Original Message-----
> From: maxima-bounces at math.utexas.edu 
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Evan
> Sent: Monday, July 09, 2007 8:54 AM
> To: fateman at cs.berkeley.edu
> Cc: maxima at math.utexas.edu
> Subject: Re: [Maxima] "depends" problem of variables with subscripts
> 
> On 7/9/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> > Sure, do the whole computation with x_n_m  and before displaying it,
> > substitute x[n]^m.
> > Except if m=1, this will work,  but maybe do x[n]^"1"  or 
> some such thing.
> >
> 
> I don't think it's a good idea
> 
> usually I'd like to see the intermediate results frequently and decide
> what to do next, or "intermediate" results are also what I want.
> substitute frequently just for displaying would be distracting.
> 
> I browsed this mailinglist and noted "using 'depends' and 'assume' on
> arrays" post a few days ago, a similar issue is also raised there.
> 
> It seems that there are reasons for maxima to support
> "depends(x[n],t)" and other such statements. wondering whether it will
> be implemented in the (near?) future.
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>