Hallo Scilab équipe,

In my application it is vital   -  in addition to the normal focus when using seeds -  that /different/ seeds in rand("seed",seed) produce /different/ random number series. (1) Is that the case?

I am aware that  seed has to be a non negative integer. (2) Are there any further restrictions?  (3) What is the upper bound?

The minimal example below is as expected.

Kind regards

Jens

s1=1e3;
s2=1e10;
rand("seed",s1);
r1=rand(3,1);
rand("seed",s2);
r2=rand(3,1);
//
rand("seed",s1)
r3=rand(3,1);
rand("seed",s2);
r4=rand(3,1);
r1234=[r1  r2  r3  r4] ----------------------------------------------------




_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to