JCL Help:Median
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: Median Function
Search in JCL Help
Search in all projects
Summary
Returns the median of an (sorted) array of floats.
Pascal
function Median(const X: TDynFloatArray): Float;
Parameters
Parameters | Description |
const X: TDynFloatArray | The array for which you want the median value. |
Return Value
The median value of the supplied array. If the array is empty an EMathError exception is raised.
Description
Median returns the median (2nd quartiles) of an array of floats. The supplied array must be sorted and cannot be empty. The median of a set of values is the value which evenly separates the set of values so that one half of the set is greater than the median.
About
Unit
Donator
ESB Consultancy
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page