Create a list from 2 others, like tuples



Hi Henry,

>  What I mean is instead of doing:
>
> (%i73) ii:makelist(i,i,1,10);
> (%o73)                  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
> (%i74) map(lambda([x],[x,((-1)^(x+1))/x]),ii);
>
>  just create the list in the place of "ii"?

Well, here is still another way to do it then --

makelist ([i, 2*i], i, 1, 3); =>  [[1, 2], [2, 4], [3, 6]]


HTH
Robert