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: Sat, 04 Sep 2010 16:24:34 +0200

I had written:

>>> Unlike cellfun, parcellfun appears to re-initialize the rand function in 
>>> each
>>> call. This is counter-intuitive.
>>
>>This has been already fixed; please upgrade your package. Parcellfun
>>now broadcasts the original seed to each forked process and
>>reinitializes based on that and the thread number. Unfortunately,
>>there is no feasible way to make parcellfun behave identically to
>>cellfun in this regard.
>
>This is great news, thanks!

For those interested, Jaroslav has updated parcellfun.m, but has not
produced a new package, so you should download the new parcellfun.m from

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

and install it in place of the parcellfun.m from the 'general' package 1.2.1.

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