MeanMode:
    | "arithmetic"
    | "geometric"
    | "harmonic"
    | "logarithmic"
    | 1
    | 2
    | 3
    | 4

Represents different methods to calculate the mean.

  • Mode 1 "arithmetic" (a+b)/2 is a bit faster but way less accurate for large numbers.
  • Mode 2 "geometric" sqrt(ab) is more accurate, and is the default.
  • Mode 3 "harmonic" 2/(1/a+1/b) is the slowest. You probably don't need this.
  • Mode 4 "logarithmic" 10^sqrt(log10(a)*log10(b)) is the most "accurate" and slightly slower.