[Maxima] list of lists
Adam Majewski
adammaj1 at o2.pl
Mon Jun 1 14:49:15 CDT 2009
Hi,
I wanted to make array of list, but I failed to do it
so I've tried to make list of lists ( if it is possible).
Here is what I have done :
1. make a empty list
a:[];
2. add elements to list ( another empty list)
a:cons([],a);
a:cons([],a);
3. add elements to sublists
a[1]:cons(c,a[1]);
a[2]:cons(d,a[2]);
4. check
a[1][1];
Is it a good/best way ?
Adam
============== code ====================
a:[];
a:cons([],a);
a:cons([],a);
a[1]:cons(c,a[1]);
a[2]:cons(d,a[2]);
a[1][1];
==============================================
More information about the Maxima
mailing list