.AdvancedNoise.Distributions.TruncatedDiscrete.cumulative

Information

This function returns the cumulative distribution function according to a discrete distribution in a band.

For more details of this distribution see Wikipedia.

Interface

function cumulative
  extends Modelica.Math.Distributions.Interfaces.partialTruncatedCumulative;
  input Real x[:] = {0, 1} "Discrete values to be chosen from" annotation(
    Dialog);
  input Real p[size(x, 1)] = ones(size(x, 1))/size(x, 1) "The probabilities of the discrete values" annotation(
    Dialog);
end cumulative;

Generated at 2024-12-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos