On Mon, 04 Oct 2004 07:52:18 -0700, Richard Fateman
<fateman@cs.berkeley.edu> wrote:
> Which one of the answers is what you want? The notion
> of subscripting an expression (as opposed to a variable)
> has at least three different semantic interpretations
> that come to my mind.
I agree there is ambiguity (see my message), but...
> (a+b+c)[3] ==> c
This is never Maxima's interpretation as far as I know, except for
[a,b,c][0] => "[", documented in my bug report 705734.
> (a+b+c)[3] ==> a[3]+b[3]+c[3]
This only works if all three are vectors/non-scalars.
-s