help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parcellfun and rand


From: Francesco Potortì
Subject: Re: parcellfun and rand
Date: Tue, 07 Sep 2010 19:20:10 +0200

>> octave:> disp(parcellfun(2, inline("randn(2,1)"), cell(1,2),
>> "verboselevel", 0))
>>   -1.04528  -1.04528
>>   -0.37886  -0.37886
>
>this kind of thing is quite important, for example, in Monte Carlo studies,
>which can be done in parallel but usually need a randomization, and that is,
>uncorrelated output from the above example.
>
>How do I get this?

The current version does not have this problem (unless you find a bug).
Try it:

<http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/general/inst/parcellfun.m?revision=7676>

For Monte Carlo simulations, note that they are not reproducible, as the
number of jobs scheduled to each process is not predictable.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]