SelectLike
Given a function for finding approximate medians, this will create an exact median finder.
Value members
Abstract methods
Concrete methods
Puts the k-th element of data, according to some Order, in the k-th position. All values before k are less than or equal to data(k) and all values above k are greater than or equal to data(k).
Puts the k-th element of data, according to some Order, in the k-th position. All values before k are less than or equal to data(k) and all values above k are greater than or equal to data(k).
This is an in-place algorithm and is not stable and it WILL mess up the order of equal elements.