Harmonic mean of all values in the array If the array is empty, it throws an error
import { harmonicMean } from '@kitsuyui/mymath'harmonicMean([1, 2, 3, 4]) // => 1.9200000000000004 Copy
import { harmonicMean } from '@kitsuyui/mymath'harmonicMean([1, 2, 3, 4]) // => 1.9200000000000004
Harmonic mean of all values in the array If the array is empty, it throws an error
Example