-
Notifications
You must be signed in to change notification settings - Fork 4
matrix
Turtle Kitty edited this page Aug 9, 2015
·
2 revisions
This operator creates a vector of vectors of N dimensions. Each list given to the form is interpreted as a vector.
(matrix ((1 2) (3 4)) ((5 6) (7 8)))
-> (vector: (vector: (vector: 1 2) (vector: 3 4)) (vector: (vector: 5 6) (vector: 7 8)))
matrix can be abbreviated #.
(# ((1 2) (3 4)) ((5 6) (7 8)))
-> (vector: (vector: (vector: 1 2) (vector: 3 4)) (vector: (vector: 5 6) (vector: 7 8)))