mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
median
mir
math
stat
Returns the median of a dynamic array, optionally modifying the input in place.
template
median
(F, bool allowModify = false)
template
median
(bool allowModify = false)
meanType
!(
T
[])
median
(T[] ar)
meanType
!(
T
[])
median
(
T
)
(
scope
const
T
[]
ar
...
)
auto
median
(T withAsSlice)
Parameters
ar
T
[]
array
mir
math
stat
enums
VarianceAlgo
functions
gmean
structs
GMeanAccumulator
MapSummator
MeanAccumulator
VarianceAccumulator
templates
center
gmeanType
hmean
hmeanType
mean
meanType
median
simpleLinearRegression
standardDeviation
statType
stdevType
variance
Returns the median of a dynamic array, optionally modifying the input in place.