SCM

SCM Repository

[rmetrics] Diff of /pkg/randtoolbox/src/init.c
ViewVC logotype

Diff of /pkg/randtoolbox/src/init.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5924, Sat Oct 25 11:09:36 2014 UTC revision 6028, Wed May 3 19:42:06 2017 UTC
# Line 6  Line 6 
6   * @author Petr Savicky   * @author Petr Savicky
7   *   *
8   *   *
9   * Copyright (C) 2013, Christophe Dutang,   * Copyright (C) 2017, Christophe Dutang,
10   * Petr Savicky, Academy of Sciences of the Czech Republic.   * Petr Savicky, Academy of Sciences of the Czech Republic.
11   * All rights reserved.   * All rights reserved.
12   *   *
# Line 60  Line 60 
60  //table of registration  //table of registration
61  static const R_CallMethodDef callMethods[] =  static const R_CallMethodDef callMethods[] =
62  {  {
63          {"doTorus", (DL_FUNC) &doTorus, 6},          {"doTorus", (DL_FUNC) &doTorus, 7},
64            {"doHalton", (DL_FUNC) &doHalton, 6},
65            {"doSobol", (DL_FUNC) &doSobol, 6},
66          {"doSetSeed", (DL_FUNC) &doSetSeed, 1},          {"doSetSeed", (DL_FUNC) &doSetSeed, 1},
67          {"doCongruRand", (DL_FUNC) &doCongruRand, 6},          {"doCongruRand", (DL_FUNC) &doCongruRand, 6},
68          {"doSFMersenneTwister", (DL_FUNC) &doSFMersenneTwister, 4},          {"doSFMersenneTwister", (DL_FUNC) &doSFMersenneTwister, 4},
# Line 80  Line 82 
82    
83          //make randtoolbox C functions available for other packages          //make randtoolbox C functions available for other packages
84          R_RegisterCCallable("randtoolbox", "torus", (DL_FUNC) torus);          R_RegisterCCallable("randtoolbox", "torus", (DL_FUNC) torus);
85            R_RegisterCCallable("randtoolbox", "halton", (DL_FUNC) halton);
86            R_RegisterCCallable("randtoolbox", "sobol", (DL_FUNC) halton);
87          R_RegisterCCallable("randtoolbox", "setSeed", (DL_FUNC) setSeed);          R_RegisterCCallable("randtoolbox", "setSeed", (DL_FUNC) setSeed);
88          R_RegisterCCallable("randtoolbox", "congruRand", (DL_FUNC) congruRand);          R_RegisterCCallable("randtoolbox", "congruRand", (DL_FUNC) congruRand);
89          R_RegisterCCallable("randtoolbox", "SFmersennetwister", (DL_FUNC) SFmersennetwister);          R_RegisterCCallable("randtoolbox", "SFmersennetwister", (DL_FUNC) SFmersennetwister);

Legend:
Removed from v.5924  
changed lines
  Added in v.6028

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge