mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
hmean.hmean
mir
math
stat
hmean
Computes the harmonic mean of a range or array, with optional summation method.
hmeanType
!
Range
hmean
(Range r)
hmeanType
!
T
hmean
(T[] ar)
template
hmean
(Summation summation = Summation.appropriate)
@
fmamath
hmeanType
!
T
hmean
(
T
)
(
scope
const
T
[]
ar
...
)
Parameters
ar
T
[]
values
mir
math
stat
hmean
functions
hmean
Computes the harmonic mean of a range or array, with optional summation method.