.Noise.RNG.SampleFree.RNG_Weyl

Number generator based on the Equidistribution Theorem (Weyl's criterion), WARNING: Not random!

Information

This is not actually a random number generator. Weyl's theorem guarantees a very uniform distribution, but the generated signal is highly correlated.

Interface

function RNG_Weyl
  extends Noise.Utilities.Interfaces.SampleFreeRNG;
  input Real y0 = sqrt(4345543) - 1 "An irrational number used to yield the pseudo-random number rand_i = i*yo mod 1" annotation(
    Dialog);
end RNG_Weyl;

Revisions

Developed 2014 at the DLR Institute of System Dynamics and Control


Generated at 2025-03-13T19:24:49Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos