gmean

Computes the geometric average of the input.

By default, if F is not floating point type, then the result will have a double type if F is implicitly convertible to a floating point type.

  1. gmeanType!F gmean(Range r)
    @fmamath
    gmean
    (
    F
    Range
    )
    (
    Range r
    )
    if (
    isFloatingPoint!F &&
    isIterable!Range
    )
  2. gmeanType!Range gmean(Range r)
  3. gmeanType!F gmean(F[] ar)

Parameters

r Range

range, must be finite iterable

Return Value

Type: gmeanType!F

The geometric average of all the elements in the input, must be floating point type

See Also

Meta