.BusinessSimulation.Converters.Vector

Information

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

This package ontains converters where either input or output or both can be vectors of a given dimension.

Technical Notes

There is currently no support in Wolfram SystemModeler for flexible array sizes (":") for connectors used with blocks. Therefore the actual size of array inputs has to be given as a parameter upon instantiating a converter in a model.



Copyright © 2020 Guido Wolf Reichert
Licensed under the EUPL-1.2 or later

Contents

NameDescription
ArithmeticMean(Weighted) arithmetic mean
ClipClips input vector so that all components remain within a given interval
ComplementFractionsTaking a vector of k fractions of 1 and adding another fraction as to achieve a total of 1
ConstantConverterA list of constant values is turned into a constant vector of signals
ConstantConverterRateA list of constant rates is turned into a vector of rate signals
ConstantConverterTimeA list of constant time values is turned into a vector of constant time signals
DotProductDot product of two vectors of equal length
GeometricMean(Weighted) geometric mean
MaxMax function for vectors
MinMin function for vectors
ProductGives the product of all components of the input vector
ProportionalSplitFactorsConvert a vector of weights to a vector of fractions adding to one
RescaleRescales the components of input vector u to run from y_min to y_max over the range u_min to u_max
ScalarMultiplicationMultiplication of a vector with a scalar
SumAdd two vectors of equal length
TimesElementwise multiplication of two vectors of the same length
TotalGives the sum over all components of a vector

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos