ProportionalSplitFactorsConvert a vector of weights to a vector of fractions adding to one |
|
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:
If the weights do add up to zero equal proportions are assumed:
shiftInputs = true) or clipped (shiftInputs = false), so that no weight will be less than zero.| nin |
Value: 2 Type: Integer Description: Number of input and output signals |
|---|---|
| shiftInputs |
Value: true Type: Boolean Description: = true, if all values are to be shifted to prevent negative inputs, otherwise negative inputs are simply set to zero |
| u |
Type: RealMultiInput[nin] Description: Input |
|
|---|---|---|
| y |
Type: RealMultiOutput[nin] Description: Output signal |
|
BusinessSimulation.MoleculesOfStructure.Policy Allocate an available amount according to priorities |
|
|
BusinessSimulation.MoleculesOfStructure.Transceivers Splitting an arbitrary flow into n subflows |