[racket] Math library ready for testing
> Or maybe using a : or something to separate rows for 2D arrays?
> (array 1 2 : 3 4)
>
> (array 1 0 0 0 0 0
> : 0 1 0 0 0 0
> : 0 0 1 0 0 0
> : 0 0 0 1 0 0
> : 0 0 0 0 1 0
> : 0 0 0 0 0 1)
>
>
What about something like:
(array #:cols 6
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
0 0 0 0 1 0
0 0 0 0 0 1)
where an extra #:cols argument lets the system know now many columns there
are per row?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121207/707a0170/attachment.html>