==== RDZ ====
----
Initialize pseudo-random number generator with a seed
----
^ __Input Stack__ ^ ^ __Output Stack__ ^
| **Numseed** | **→** | **** |
| //Level 1// | //→// | //Level 1// |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
| **Keyword type** | [[manual:chapter5:basics#commands|Command]] ||
| **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-4commands-that-set-modes-states|Group 4]] | //Commands that set modes / states// |
| **Affected by flags** | //None// ||
----
The ''RDZ'' command initializes the [[http://prng.di.unimi.it/|xoroshiro128+ (v1.0)]] pseudo-random number generator with a seed.
The same seed will generate always the same pseudo-random sequence, provided internal precision is the same.
----
''RDZ'' is fully equivalent to its **userRPL** counterpart.
----
**__Input__**
« 32 SETPREC
-1 RDZ
RAND
»
\\
**__Output__**
4:
3:
2:
1: 0.437333743646
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:statistics&nofooter&noeditbtn&inline}}