The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... 
Home MathPack Math1 Miscellaneous Stuff QuickSelect  
See also: Percentile (Vector), Percentile (Matrix), Percentile (Mat4D), PercentileOfArray  
QuickSelect 

The function QuickSelect returns the value of the k^{th} smallest element of the unsorted array Data and can be used to calculate a particular quantile of a set of values. The parameter k specifies the rank number of the order statistic, the parameters First and Last specify the indices of the first and the last element of the data array to be included in the calculation (valid range is from 0 to length(Data)1).
