.BusinessSimulation.Converters.Vector.GeometricMean

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 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos