The OpenD Programming Language

median.median

Returns the element type of a struct with .DeepElement inner alias or a type of common array. Returns ForeachType if struct does not have .DeepElement member.

  1. meanType!(Slice!(Iterator, N, kind)) median(Slice!(Iterator, N, kind) slice)
    template median(bool allowModify = false)
    meanType!(Slice!(Iterator, N, kind))
    median
    (
    Iterator
    size_t N
    SliceKind kind
    )
    (
    Slice!(Iterator, N, kind) slice
    )
  2. template median(F, bool allowModify = false)
  3. meanType!(T[]) median(T[] ar)
  4. auto median(T sliceLike)

Meta