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