SCM

SCM Repository

[rmetrics] Diff of /pkg/randtoolbox/src/LowDiscrepancy-halton.c
ViewVC logotype

Diff of /pkg/randtoolbox/src/LowDiscrepancy-halton.c

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

revision 6135, Thu Nov 29 11:07:56 2018 UTC revision 6136, Tue Apr 30 12:56:05 2019 UTC
# Line 18  Line 18 
18  C  C
19  C Copyright (C) Oct. 2009, Christophe Dutang, slightly modified (better accuracy and speed).  C Copyright (C) Oct. 2009, Christophe Dutang, slightly modified (better accuracy and speed).
20  C  C
21  C Copyright (C) Sept. 2002, Diethelm Wuertz, ETH Zurich. All rights reserved.  C Copyright (C) Sept. 2002, Diethelm Wuertz
22  C  C
23  C The new BSD License is applied to this software.  C The new BSD License is applied to this software.
24  C Copyright (c) Diethelm Wuertz, ETH Zurich. All rights reserved.  C Copyright (c) Diethelm Wuertz, ETH Zurich. All rights reserved.
25    C Christophe Dutang, see http://dutangc.free.fr
26  C  C
27  C      Redistribution and use in source and binary forms, with or without  C      Redistribution and use in source and binary forms, with or without
28  C      modification, are permitted provided that the followingConditions are  C      modification, are permitted provided that the followingConditions are
# Line 104  Line 105 
105      HALF = 1.0 / primeNumber[DIMEN];      HALF = 1.0 / primeNumber[DIMEN];
106      if (primeNumber[2] == 1)      if (primeNumber[2] == 1)
107        reconstruct_prime();        reconstruct_prime();
     //Rprintf("DIMEN %u, prime %u\n", DIMEN, primeNumber[DIMEN]);  
108      do      do
109      {      {
110          DIGIT = ITER % primeNumber[DIMEN];          DIGIT = ITER % primeNumber[DIMEN];

Legend:
Removed from v.6135  
changed lines
  Added in v.6136

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