arrays/lists with multi-idices



I think you could use a hash array with a single index, but that index is a
compound object.
For example,  b[f(1,2,5)]  or even    b[[1,2,5]].

There is also a local declaration inside a block. Something like
 local(b), 
 

> -----Original Message-----
> From: maxima-bounces at math.utexas.edu 
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Fabrizio Caruso
> Sent: Monday, June 18, 2007 7:57 AM
> To: maxima at math.utexas.edu
> Subject: arrays/lists with multi-idices
> 
> Hi all!
> 
> I have the following problem,
> I have a function which should uses
> arrays with multi-idices of length
> given by a parameter, i.e.
> I would like to have some thing like:
> 
> b[1,2,5] (where the num. of arg. is a paramenter)
> or
> b[1][2][5]
> 
> I would also like to avoid using a global "b".
> 
> In other CAS such as Maple this is done by defining
> b as local and then by doing something like
> 
> b(op([...,...,...]):...
> 
> Is there in Maxima a way to do something like that
> or similar to that?
> 
>   Fabrizio
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>