gmean

Computes the geometric mean of a slice. The product in gmean is computed in logarithms to avoid FP overflows.

  1. auto gmean(S slice)
    nothrow @nogc deprecated pure nothrow @safe @nogc
    gmean
    (
    S
    )
    ()
    if (
    isSlice!S
    )
  2. auto gmean(S slice, Seed seed)

Parameters

slice S

input slice

Return Value

Type: auto

geometric mean of slice

See Also

Meta