How to define rules for variables randomly created by implicit simplification of Maxima? e.g. rule for sum(x(i1,j1),x,1,n)^2



On 2/6/06, dp2 at cise.ufl.edu <dp2 at cise.ufl.edu> wrote:
>
> Hi all,
> If you define the square of the sum, Maxima simplifies in the following
> way:
> eq2:sum(x(i1,j1),x,1,n)^2;
>

I'm not sure what you intended to write here, but surely not this.  The
index "x" runs from 1 to n and you are trying to subscript it?  What would
1(i1,j1) mean?