Skip to content
TurtleKitty edited this page May 11, 2019 · 2 revisions

matrix

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)))

Clone this wiki locally