.ModelicaTest.Math.Random.randomNumbers

Information

Interface

function randomNumbers
  import Modelica.Math.Random.Generators;
  import Modelica.Utilities.Streams.print;
  import Modelica.Math.Random.Utilities.automaticLocalSeed;
  extends Modelica.Icons.Function;
  input Integer localSeed = 614657;
  input Integer globalSeed = 30020;
  output Boolean ok;
  output Real r2;
  output Real r4a;
  output Real r4b;
  output Real r4c;
  output Real r33;
  output Integer state2[Generators.Xorshift64star.nState];
  output Integer state4a[Generators.Xorshift128plus.nState];
  output Integer state4b[Generators.Xorshift128plus.nState];
  output Integer state4c[Generators.Xorshift128plus.nState];
  output Integer state33[Generators.Xorshift1024star.nState];
end randomNumbers;

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

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