Vocabularymath.
statisticsInputsOutputsx | a non-negative real number |
Word descriptionComputes the harmonic mean of the elements in
seq. The harmonic mean is appropriate when the average of rates is desired.
NotesPositive reals only.
ExamplesUSING: math.statistics prettyprint ;
{ 1 2 3 } harmonic-mean .
1+7/11
ErrorsThrows a
signal-error. (divide by zero) if the sequence is empty.
Definition