[][src]Crate floydrivest

floydrivest

floydrivest is a small and extremely lightweight crate that provides an in-place implementation of the Floyd-Rivest algorithm.

Functions

nth_element

Moves the n-th element of the given Vector in the n-th position by using the Floyd-Rivest algorithm with linear time complexity.