Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

randstate <string>

randstate is undoable, queryable, and editable.

The command returns the "state" of the random stream named by the string argument. This state information comprises a set of numbers which can be used by an external process (for example, a user-written plug-in) to emulate the random number sequence which is generated by MEL's random number functions.

Return value


vector

Related

delrandstr, gauss, rand, seed, sphrand

MEL examples

randstate "stream1";
// Result: 13733 45971 2693 //