J rank in a nutshell on [2013-10-15 Tue 12:39]

    NB. A list of 12 numbers
    ]L=:(1 2 3 4 5 6 7 8 9 10 11 12)
    1 2 3 4 5 6 7 8 9 10 11 12
    $ L
    12

    NB. A 2x2x3 matrix of those numbers
    ]M=:(2 2 3 $ L)
    1  2  3
    4  5  6

    7  8  9
    10 11 12
    $ M
    2 2 3

   <"3 M
+--------+
| 1  2  3|
| 4  5  6|
|        |
| 7  8  9|
|10 11 12|
+--------+
   <"2 M
+-----+--------+
|1 2 3| 7  8  9|
|4 5 6|10 11 12|
+-----+--------+
   <"1 M
+-----+--------+
|1 2 3|4 5 6   |
+-----+--------+
|7 8 9|10 11 12|
+-----+--------+
   <"0 M
+--+--+--+
|1 |2 |3 |
+--+--+--+
|4 |5 |6 |
+--+--+--+

+--+--+--+
|7 |8 |9 |
+--+--+--+
|10|11|12|
+--+--+--+
   ,; L:0 <"0 M
+-+-+-+-+-+-+-+-+-+--+--+--+
|1|2|3|4|5|6|7|8|9|10|11|12|
+-+-+-+-+-+-+-+-+-+--+--+--+
   



Prev: J vs Javascript vs PicoLisp short comparison  Next: picolisp or J