make_polygon SciMax Toolbox make_rgb_picture

SciMax Toolbox >> make_random_state

make_random_state

Maxima Function

Calling Sequence

make_random_state (n)
make_random_state(s)
make_random_state(true)
make_random_state(false)

Description

A random state object represents the state of the random number generator. The state comprises 627 32-bit words.

make_random_state (n) returns a new random state object created from an integer seed value equal to n modulo 2^32. n may be negative.

make_random_state (s) returns a copy of the random state s.

make_random_state (true) returns a new random state object, using the current computer clock time as the seed.

make_random_state (false) returns a copy of the current state of the random number generator.

make_polygon SciMax Toolbox make_rgb_picture