On Mon, Aug 17, 2009 at 12:25:57PM -0700, Ross Boylan wrote:
Seeding by a vector is also available in the initialization of Mersenne
Twister
from 2002. See mt19937ar.c (ar for array) at
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
Unfortunately, seeding by a vector is not
On Sun, 2009-08-16 at 21:24 +0200, Petr Savicky wrote:
Dear Ross Boylan:
Some time ago, you sent an email to R-devel with the following.
I got into this because I'm trying to extend the rsprng code; sprng
returns its state as a vector of bytes. Converting these to a vector of
integers
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return pointers
to the number of seeds and to an integer array of seeds. Calls to
\code{GetRNGstate} and
Hello,
Le 30 juil. 09 à 08:21, Ross Boylan a écrit :
?Random.user says (in svn trunk)
Optionally,
functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be
supplied which are called with no arguments and should return
pointers
to the number of seeds and to an integer array of
On Thu, 2009-07-30 at 12:32 +0200, Christophe Dutang wrote:
This suggests that the type of user_unif_seedloc is Int32*, not int
*.
It also suggests that user_unif_nseed should return the number of
32
bit
integers. The code for PutRNGstate(), for example, uses them in
just
that way.
tibco.com
-Original Message-
From: r-devel-boun...@r-project.org
[mailto:r-devel-boun...@r-project.org] On Behalf Of Ross Boylan
Sent: Thursday, July 30, 2009 9:52 AM
To: Christophe Dutang
Cc: R-devel
Subject: Re: [Rd] user supplied random number generators
On Thu, 2009-07-30