Group: | Random Variables |
See also: | normal uniform |
Function: | randomize | |
Description: | Sets the seed of the pseudorandom number generator. |
Usage: | randomize (s) | |
Input: | ||
s | scalar |
randomize(101) uniform(5) uniform(5) randomize(101) uniform(5)
Contents of runif [1,] 0.043672 [2,] 0.90255 [3,] 0.96627 [4,] 0.83006 [5,] 0.29385 Contents of runif [1,] 0.66308 [2,] 0.81297 [3,] 0.47745 [4,] 0.22466 [5,] 0.58027 Contents of runif [1,] 0.043672 [2,] 0.90255 [3,] 0.96627 [4,] 0.83006