The standard library random_sample package implements a simple interface to functionality providing for sampling from and median computation over an unsorted vector of samples.
The random_sample package API is defined anonymously inline in the source.
The random_sample package source code is in src/lib/src/random-sample.pkg.
See also: univariate_sample.
The above information is manually maintained and may contain errors.
api { random_selection : (Rw_Vector(Float ) , Int) -> Float; random_selection' : (rw_vector_slice::Slice(Float ) , Int) -> Float; median : Rw_Vector(Float ) -> Float; median' : rw_vector_slice::Slice(Float ) -> Float;};