Next: srfi vector spec conv, Previous: srfi vector spec search, Up: srfi vector spec [Index]
R5RS Assign the contents of the location at i in vec to value.
Swap or exchange the values of the locations in vec at i and j.
R5RS+ Assign the value of every location in vec between start, which defaults to 0 and end, which defaults to the length of vec, to fill.
Destructively reverse the contents of the sequence of locations in vec between start and end. Start defaults to 0 and end defaults to the length of vec. Note that this does not deeply reverse.
Copy a block of elements from source to target, both of
which must be vectors, starting in target at tstart and
starting in source at sstart, ending when send -
sstart
elements have been copied. It is an error for
target to have a length less than:
tstart + (send - sstart)
sstart defaults to 0 and send defaults to the length of source.
Like vector-copy!
, but this copies the elements in the reverse
order. It is an error if target and source are identical
vectors and the target and source ranges overlap; however,
if tstart = sstart
, vector-reverse-copy!
behaves as:
(vector-reverse! target tstart send)
would.
Next: srfi vector spec conv, Previous: srfi vector spec search, Up: srfi vector spec [Index]