Example: harmonic({1,1/3}) returns 0.5.
harmonic({1,1/3})
function harmonic extends Modelica.Icons.Function; input Real u[:] "Vector of numbers" annotation( Dialog(__Dymola_label = "<html><i>u</i></html>")); output Real mean "Harmonic mean"; end harmonic;