Next: vectors pad, Previous: vectors fold, Up: vectors [Index]
Build and return a new vector holding the selected subvector of vec.
Like %vector-copy
, but copy the elements in the reverse order
from the selected subvector of vec.
(vector-reverse-copy (view '#(5 4 3 2 1 0) (start 1) (past 5))) ⇒ #(1 2 3 4)
Write the selected source subvector into the selected destination subvector. This function supports copying over the same vector.
The selected destination subvector starts at dst-start in dst-vec and may extend until the end of the vector. In the destination vector view dst-V: If a past index is specified, it is ignored.
Like %vector-copy!
, but this copies the elements in the reverse
order. This function supports copying over the same vector.
Return the first or last nitems of the selected subvector. These functions always return a newly allocated vector.
Drop the first or last nitems of the selected subvector and return the resulting vector. These functions always return a newly allocated vector.
Next: vectors pad, Previous: vectors fold, Up: vectors [Index]