.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-05-17T18:15:58Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos