hmean.hmean

Computes the harmonic mean of a range or array, with optional summation method. (community summary)

  1. hmeanType!Range hmean(Range r)
  2. hmeanType!T hmean(T[] ar)
    template hmean(Summation summation = Summation.appropriate)
    @fmamath
    hmean
    (
    T
    )
    (
    scope const T[] ar...
    )

Parameters

ar T[]

values