Uniform.cumulative(u, u_min=0, u_max=1);
This function computes the cumulative distribution function according to a uniform distribution in a band. The returned value y is in the range:
0 ≤ y ≤ 1
Plot of the function:
For more details, see Wikipedia.
cumulative(0.5) // = 0.5 cumulative(0,-1,1) // = 0.5
Uniform.density, Uniform.quantile.
function cumulative extends Modelica.Math.Distributions.Interfaces.partialCumulative; input Real u_min = 0 "Lower limit of u" annotation( Dialog); input Real u_max = 1 "Upper limit of u" annotation( Dialog); end cumulative;
Date | Description | ||
---|---|---|---|
June 22, 2015 |
|