Documentation Chapter 37, Lists.



At 07:02 PM 7/11/2007, you wrote:


>... xxx[i][j] is equivalent to (xxx[i])[j]. Similarly for f(x)[i], etc. 
>In general, composition works straightforwardly with left association, e.g.
>
>
>       [q,r,s] => [q,r,s]
>
>       [q,r,s][2] => r
>
>       rest([q,r,s])[2] => s
>
>       [[1,2],[2,3]][2] => [2,3]
>
>       rest([[1,2],[2,3]])[1] => [2,3]
>
>       lambda([a],[a,a^2,a^3])(q)[2] => q^2 
>
>       f[2]: lambda([x],x^3)$
>       f[2](3) => 27
>
>etc. There is nothing special about x[i][j].


Thank you for the good examples, they are usefull to me. I think these, 
and other, examples should be included to in the documentation that 
is available from the F1 help key in a windows wxMaxima installation
for Contents Chapter 37 "Lists". 

Also in chapter 37 doc there should be a "see also" cross reference list.
The list would contain something like [lmax(l), lmin(l), sort(L,P), subst(a,b,c),...etc..] 
These are functions, defined in other chapters or packages, that important 
or useful for working lists. Maybe the subject is cross reference lists


Ed

~~~