.BusinessSimulation.Converters.Vector.GeometricMean

(Weighted) geometric mean

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The scalar output y is obtained as the geometric mean of the components of the input vector u. Optionally weights can be given, either as constants (weights) or as variable inputs (u_weights).

y = (sum_i x_i^w_i)^(1/sum_i w_i)

Notes


See also

geometricMean, ArithmeticMean


Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos