AdvancedNoise.Distributions.Discrete.density

# .AdvancedNoise.Distributions.Discrete.density

Density of discrete distribution (undefined!)

## Information

This function returns the probability density according to a discrete distribution.

For more details of this distribution see Wikipedia.

#### Interface

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

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos