bug in rand generation?

Amaël Delaunoy amael.delaunoy at gmail.com
Wed May 5 14:04:03 CEST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100505/366eb1e3/attachment.htm>


More information about the users mailing list