Syntax
harmonicmean(array)
Description
The harmonicmean() function returns the average rate of change for a given set of numbers.
Example
include("stats")
Data=[1,4,7,3,9,20,22]
HM=harmonicmean(Data)
println("The harmonic mean of: ", Data, " is ", HM)
The harmonic mean of: [1, 4, 7, 3, 9, 20, 22] is 3.6217709422129314