A random number with Cauchy-Lorentz distribution
function PDF_CauchyLorentz extends Noise.Utilities.Interfaces.PDF; import Modelica.Constants.pi; input Real mu = 0 "The expectation (mean) value of the distribution" annotation( Dialog); input Real gamma = 1 "The standard deviation of the normal distribution" annotation( Dialog); end PDF_CauchyLorentz;
Developed 2014 at the DLR Institute of System Dynamics and Control