[scilab-Users] bug in rand generation?

Celso Co celso.co at gmail.com
Fri May 7 00:35:46 CEST 2010


I observed the same. cco

On Wed, May 5, 2010 at 8:04 PM, Amaël Delaunoy <amael.delaunoy at gmail.com>wrote:

> 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
>



-- 
Eng'r Celso B. Co, PhD ECE
Assistant Professor
Dept. of Electronics, Computer, and Communication Engineering,
Loyola Schools of Science and Engineering, Ateneo De Manila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100507/0d848990/attachment.htm>


More information about the users mailing list