The R Project SVN R

Rev

Rev 68948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 72357
Line 14... Line 14...
14
\details{
14
\details{
15
  A user-specified uniform RNG is called from entry points in
15
  A user-specified uniform RNG is called from entry points in
16
  dynamically-loaded compiled code.  The user must supply the entry point
16
  dynamically-loaded compiled code.  The user must supply the entry point
17
  \code{user_unif_rand}, which takes no arguments and returns a
17
  \code{user_unif_rand}, which takes no arguments and returns a
18
  \emph{pointer to} a double. The example below will show the general
18
  \emph{pointer to} a double. The example below will show the general
19
  pattern.
19
  pattern. The generator should have at least 25 bits of precision.
20
 
20
 
21
  Optionally, the user can supply the entry point \code{user_unif_init},
21
  Optionally, the user can supply the entry point \code{user_unif_init},
22
  which is called with an \code{unsigned int} argument when
22
  which is called with an \code{unsigned int} argument when
23
  \code{\link{RNGkind}} (or \code{set.seed}) is called, and is intended
23
  \code{\link{RNGkind}} (or \code{set.seed}) is called, and is intended
24
  to be used to initialize the user's RNG code.  The argument is intended
24
  to be used to initialize the user's RNG code.  The argument is intended