Next: vector-pop, Previous: svref, Up: Arrays Dictionary
vector
&rest objects ⇒ vector
object—an object.
vector—a vector of type (vector t *).
Creates a fresh simple general vector whose size corresponds to the number of objects.
The vector is initialized to contain the objects.
(arrayp (setq v (vector 1 2 'sirens))) ⇒ true (vectorp v) ⇒ true (simple-vector-p v) ⇒ true (length v) ⇒ 3
vector is analogous to list.
(vector a_1 a_2 ... a_n) ≡ (make-array (list n) :element-type t :initial-contents (list a_1 a_2 ... a_n))