1. Home
  2. URAND

URAND

URAND(seed;s) provides s uniform pseudo-random numbers in the range (0,1). If s is not supplied and URAND cannot determine the length of the result from the context of the expression, the length of the current units structure (if any) is taken. Scalar seed initializes the generator. If zero in the first use of URAND in a job, the system clock is used to provide a seed; subsequent calls may use zero to continue the sequence of random numbers.

Updated on December 4, 2017

Was this article helpful?