Share

random_value

Creates a random value in the range [min,max).

Inputs

index

An index into the sequence of random numbers. Every seed generates a different sequence of random numbers and the index is the position in that sequence.

min, max

The limits for the value to return. The returned value is in the range [min, max), meaning min can be returned, but max can not be returned.

seed

The seed of the random number generator.

Outputs

random_value

A random value built from index and seed.

Was this information helpful?