[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calculation issue with octave (data unexpectedly go to zero at some
From: |
ghaverla |
Subject: |
Re: Calculation issue with octave (data unexpectedly go to zero at some point) |
Date: |
Thu, 27 Feb 2014 15:57:47 -0700 |
On Thu, 27 Feb 2014 14:19:12 -0800 (PST)
rchretien <address@hidden> wrote:
> where N is a parameter denoting the number of realisations of the
> method (I suggest to put N=1, since the problem does not depend on N).
This is just a wild guess, much better to let the others continue with
their more structured approach.
From what I read, Octave is supposed to make use of a Mersenne-Twister
for its core 0-1 RNG. And I am guessing you are drawing random numbers
from somewhere in your calculations. If somehow you are getting random
numbers from /dev/random instead of the Mersenne-Twister, you could be
depleting your system of entropy, and hence every random you generate
ends up being 0. /proc/sys/kernel/random/entropy_avail can help. My
description assumes Linux, I don't know how this might translate to
other hardware/OS.
But I have seen entirely too many project descriptions, such as a
playing card game, where they are drawing random numbers
from /dev/random (directly or indirectly).
Gord
- Calculation issue with octave (data unexpectedly go to zero at some point), rchretien, 2014/02/22
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Michael Goffioul, 2014/02/23
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), rchretien, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Juan Pablo Carbajal, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Michael Goffioul, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Ozzy Lash, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), rchretien, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point),
ghaverla <=
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), rchretien, 2014/02/28
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Juan Pablo Carbajal, 2014/02/28
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Przemek Klosowski, 2014/02/28
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), ghaverla, 2014/02/28
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Juan Pablo Carbajal, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Ozzy Lash, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Ozzy Lash, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Dmitri A. Sergatskov, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Brian Kaczynski, 2014/02/27
- Re: Calculation issue with octave (data unexpectedly go to zero at some point), Dmitri A. Sergatskov, 2014/02/27