Table of Contents

Method MedianPartition

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

MedianPartition(IList<float>)

Computes the median value of the given list and partitions the list around the median.

[Version(4, 5, 0)]
public static float MedianPartition(this IList<float> list)

Parameters

list IList<float>

The list of values to evaluate.

Returns

float

The median of the array.