chickadee » srfi-132 » vector-select!

vector-select! < v k #!optional start endprocedure

This procedure returns the kth smallest element (in the sense of the < argument) of the region of a vector between start and end. Elements within the range may be reordered, whereas those outside the range are left alone. Runs in O(n) time.