<div>Why don't fixing the seed be the feature, and that by default the rand function would return real
random values?<br>It makes more sense to me, and I think this is the way it is done in other scientific programming environments I use (octave, matlab or python).<br><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<pre>So, it's a feature.<br>This is in the current documentation, but not very clearly written.<br>I will add a better warning in the documentation ASAP.<br><br>YC<br><br>Le 05/05/2010 14:21, Collette yann a �crit :<br>
> Hello,<br>><br>> Thanks for the report. I opened the bug 7037.<br>><br>> YC<br>><br>> Le 05/05/2010 14:04, Ama�l Delaunoy a �crit :<br>>> Dear all,<br>>><br>>> It appears that the rand (also grand) functions generate equal <br>
>> numbers each time Scilab is launched. (tested in several scilab <br>>> versions, 4.x and 5.2 under linux)<br>>> This is not written in the documentation of those functions.<br>>> How to reproduce? simply launch scilab, type rand(2,2,'uniform'), <br>
>> exit scilab, launch scilab, type rand(2,2,'uniform') again, values <br>>> are identical. (same with grand(2,2,'def') for example)<br>>><br>>> Is it an important missing point in the documentation? or a bug of <br>
>> the rand/grand functions?<br>>> Or am I missing somethinghere?,<br>>><br>>> Regards,<br>>> Amael<br>><br></pre></blockquote>