[scilab-Users] bug in rand generation?

Collette yann yann.collette at scilab.org
Wed May 5 14:21:53 CEST 2010


Hello,

Thanks for the report. I opened the bug 7037.

YC

Le 05/05/2010 14:04, Amaël Delaunoy a écrit :
> Dear all,
>
> It appears that the rand (also grand) functions generate equal numbers 
> each time Scilab is launched. (tested in several scilab versions, 4.x 
> and 5.2 under linux)
> This is not written in the documentation of those functions.
> How to reproduce? simply launch scilab, type rand(2,2,'uniform'), exit 
> scilab, launch scilab, type rand(2,2,'uniform') again, values are 
> identical. (same with grand(2,2,'def') for example)
>
> Is it an important missing point in the documentation? or a bug of the 
> rand/grand functions?
> Or am I missing somethinghere?,
>
> Regards,
> Amael




More information about the users mailing list