.AdvancedNoise.Distributions.TruncatedDiscrete.quantile

Information

This function returns a number according to a uniform discrete in a band. This means the returned number is in the range:

yminyymax

For more details of this distribution see Wikipedia.

Interface

function quantile
  extends Modelica.Math.Distributions.Interfaces.partialTruncatedQuantile;
  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 quantile;

Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos