All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

make-mt-random-state Function

Summary

Creates an object of type mt-random-state.

Package

lispworks

Signature

make-mt-random-state &optional state => new-state

Arguments
state
nil, t or an object of type mt-random-state. The default is nil.
Values
new-state
A new object of type mt-random-state.
Description

The function make-mt-random-state creates a new object of type mt-random-state which is suitable for use as the value of *mt-random-state*.

If state is an object of type mt-random-state, then new-state is a copy of state. If state is nil, then new-state is a copy of the value of *mt-random-state*. If state is t then new-state is an object of type mt-random-state initialized using a call to get-universal-time.

make-mt-random-state is analogous to cl:make-random-state.

See also

mt-random
*mt-random-state*
mt-random-state


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41