functionquantileNormalSimple

Test quantile of normal distribution with reduced precision

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function returns a random number according to a normal distribution. This means that 99.7 % of the returned random numbers are in the range:

mu-3*sigma ≤ y ≤ mu+3*sigma

This function is only for test purposes. It computes the quantile (= inverse cumulative distribution function) of a normal distribution with a reduced precision of about 1e-7.

For more details of this distribution see Wikipedia.

Inputs

TypeNameDefaultDescription
RealuRandom number in the range 0 <= u <= 1
Realmu0Expectation (mean) value of the normal distribution
Realsigma1Standard deviation of the normal distribution

Outputs

TypeNameDefaultDescription
RealyRandom number u transformed according to the given distribution

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control