|
From: | Daniel J Sebald |
Subject: | Re: rand seed (answering own questions) |
Date: | Tue, 27 Apr 2004 16:02:57 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
Daniel J Sebald wrote:
A few minor things... Here is the result of rand("seed",0): octave:70> rand("seed",0) octave:71> rand("seed") ans = 2.1220e-314I assume that the answer given is the smallest possible number. (There is a zero in floating point 'though, isn't there?) Also,
Oh yeah, right after I sent this it dawned on me that a seed of 0 isn't allowed because that would put the algorithm in a stuck state. Sorry... Dan
[Prev in Thread] | Current Thread | [Next in Thread] |