RandomTools[MersenneTwister][GenerateFloat] - Generate a float using the Mersenne Twister Generator
|
Calling Sequence
|
|
GenerateFloat( opt1, opt2, ... )
|
|
Parameters
|
|
opt1, opt2, ...
|
-
|
(optional) argument of the form option=value where option is digits
|
|
|
|
|
Description
|
|
•
|
The GenerateFloat command outputs a pseudo-random float uniformly distributed in [0,1), generated using the MersenneTwister algorithm.
|
•
|
The following optional arguments are supported. They are input as equations in any order.
|
|
The digits argument specifies how many random digits should be returned. If not specified, the current value of Digits is used.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?