Returns a newly allocated vector of k elements. If object is specified,
make-vectorinitializes each element of the vector to object. Otherwise the initial elements of the result are unspecified.
(vector 'a 'b 'c) => #(a b c)
(list->vector '(dididit dah)) => #(dididit dah)
make-vector, except that the elements of the result are determined by calling the procedure initialization on the indices. For example:(make-initialized-vector 5 (lambda (x) (* x x))) => #(0 1 4 9 16)
Procedure must be a procedure of one argument.
vector-mapapplies procedure element-wise to the elements of vector and returns a newly allocated vector of the results, in order from left to right. The dynamic order in which procedure is applied to the elements of vector is unspecified.(vector-map cadr '#((a b) (d e) (g h))) => #(b e h) (vector-map (lambda (n) (expt n n)) '#(1 2 3 4)) => #(1 4 27 256) (vector-map + '#(5 7 9)) => #(5 7 9)