.BusinessSimulation.Converters.Vector.ProportionalSplitFactors

Information

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

Given a vector u of weights, the converter will give an output vector y of fractions so that:

y_i = u_i/sum(u_i)

If the weights do add up to zero equal proportions are assumed:

y_i = 1/nin

Notes


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos