lispdoc - results for make-random-state |
(make-random-state &optional state) | Function: Make a random state object. The optional STATE argument specifies a seed for deterministic pseudo-random number generation. As per the Common Lisp standard, - If STATE is NIL or not supplied or is NIL, return a copy of the default *RANDOM-STATE*. - If STATE is a random state, return a copy of it. - If STATE is T, return a randomly initialized state (using operating-system provided randomness source where available, otherwise a poor substitute based on internal time and pid) See SB-EXT:SEED-RANDOM-STATE for a SBCL extension to this functionality.
|
| Mentioned in: CLtL2 - 12.9. Random Numbers CLtL2 - 22.1.6. What the Print Function Produces CLtL2 - 25.1.4. Similarity of Constants HyperSpec - Function MAKE-RANDOM-STATE | |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |