.Noise.Seed.Seed_MRG

Information

This function fills the initial state vector using the MRG random number generator.

Interface

function Seed_MRG
  extends Utilities.Interfaces.Seed;
  input Integer[:] a = fill(134775813, n) "The multiplier for the linear congruential generator" annotation(
    Dialog);
  input Integer c = 1 "The increment for abstracting linear congruential generators" annotation(
    Dialog);
  input Integer m = 2147483629 "The modulus for the multiple recursive generator" annotation(
    Dialog);
  input Integer k = n "The number times the MRG shall be applied to the initial state vector";
end Seed_MRG;

Revisions

Developed 2014 at the DLR Institute of System Dynamics and Control


Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos