[Maxima] Create a list from 2 others, like tuples

Henry Lenzi henry.lenzi at gmail.com
Wed Jun 7 19:33:10 CDT 2006


Hi --

 Thanks!
 Is there a syntax for creating the index list inside the map expression?
 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"?

HL




More information about the Maxima mailing list