Next: Vector operations, Previous: Copying vectors, Up: Vectors [Index]
The following function can be used to exchange, or permute, the elements of a vector.
This function exchanges the i-th and j-th elements of the vector v in-place.
This function reverses the order of the elements of the vector v.