Click or drag to resize

ArrayStatisticsMedianInplace(Single) Method

Estimates the median value from the unsorted data array. WARNING: Works inplace and can thus causes the data array to be reordered.

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static float MedianInplace(
	float[] data
)

Parameters

data  Single
Sample array, no sorting is assumed. Will be reordered.

Return Value

Single
The median value from the array, or NaN if the array is empty or contains invalid entries.
See Also