Sorry about this question? Re: 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



This question is wrong and I am sorry for that!
Dileep

> hi dileep,
>
> i'm pretty confused about what you are trying to do here.
>
>> If you define the square of the sum, Maxima simplifies in the following
>> way:
>> eq2:sum(x(i1,j1),x,1,n)^2;
>>
>
> what can this mean? if, for example, n=3, it would be
>
> (1(i1,j1) + 2(i1,j1) + 3(i1,j1))^2
>
>
> which is odd because 1, 2, and 3 aren't the names of functions.
>
> maybe there is some confusion about maxima syntax:
>
> -- parentheses are for function calls, square brackets are for list
> and matrix indices e.g. f(x) is a function call, a[k] is a list index
>
> -- in input multiplication must be denoted with asterisk,
> maxima does not understand a b as the product of a and b, it has to be
> written a*b
>
> maybe you can spell out for me what you expect the summation to be when n
> = 3.
>
>
> sorry i can't be more helpful,
>
> robert dodier
>
>