You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the seed value from 2, 3, 42, 82, 182 the first call of (rand-nth (take 10 (range))) always returns a 7? Only when I (set-random-seed! 1082) I get a different value back. Here is a further experiment, see I always get a 7 for the first element in the vector, until I set the seed to 1082
Can you explain this behaviour?
Changing the seed value from 2, 3, 42, 82, 182 the first call of
(rand-nth (take 10 (range)))
always returns a 7? Only when I(set-random-seed! 1082)
I get a different value back. Here is a further experiment, see I always get a 7 for the first element in the vector, until I set the seed to1082
The text was updated successfully, but these errors were encountered: