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....



Percentile


Unit:SDL_matrix
Class:TMatrix, TIntMatrix
Declaration:function Percentile (prob: double; LowCol, LowRow, HighCol, HighRow: integer): double;

The function Percentile returns the percentile with the probability of prob percent. The calculation of the percentile is based on the distribution of all matrix elements between (and including) LowCol, LowRow, HighCol, and HighRow. The function returns a zero value if any error occurs.

Please note that the 50%-percentile (prob = 50) is also known as the median of the distribution.


Last Update: 2007-Mai-19