Class: randMT

SolidML.randMT(seedopt)

Mersenne Twister random number generator

Constructor

new randMT(seedopt)

constructor. SolidML.randMT is used for the model construction.
Parameters:
Name Type Attributes Default Description
seed number <optional>
null seed for random numbers list
Source:

Members

seed :int

seed for random number table. null to use Date.getTime() inside.
Type:
  • int
Source:

Methods

next() → {Number}

Source:
Returns:
Returns random number and increment pointer for random number table
Type
Number