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