search for: lowdiscrepancy

Displaying 6 results from an estimated 6 matches for "lowdiscrepancy".

2017 May 09
2
registering Fortran routines in R packages
...FortEntries[] = { {"halton", (DL_FUNC) &F77_SUB(HALTON), 7}, {"sobol", (DL_FUNC) &F77_SUB(SOBOL), 11}, {NULL, NULL, 0} }; But the problem remains the same. Is there a way to have header file for Fortran codes? how to declare routines defined in my Fortran file src/LowDiscrepancy.f? Any help appreciated Regards, Christophe --------------------------------------- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr
2009 Oct 10
2
[R-SIG-Mac] rnorm.halton
...eveloper/Porting_Guide/ch03.html , I identify the following changes (Fortran types) to the Fortran code: - INTEGER to INTEGER*8 - REAL*8 to REAL*16 The code I would like to change is available on R forge here : http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/randtoolbox/src/LowDiscrepancy.f?rev=4229&root=rmetrics&view=markup Another question I have is how do I tell the R code to use the 64bit version of my code on 64bit machine? In the current implementation, the file quasiRNG.R calls directly the Fortran code with .Fortran. How could I use the 64bit version directly i...
2017 May 09
0
registering Fortran routines in R packages
...quot;, (DL_FUNC) &F77_SUB(HALTON), 7}, > {"sobol", (DL_FUNC) &F77_SUB(SOBOL), 11}, > {NULL, NULL, 0} > }; > > But the problem remains the same. > > Is there a way to have header file for Fortran codes? how to declare routines defined in my Fortran file src/LowDiscrepancy.f? > lowercase routine names? manual does mention that. Berend Hasselman > Any help appreciated > > Regards, Christophe > --------------------------------------- > Christophe Dutang > LMM, UdM, Le Mans, France > web: http://dutangc.free.fr > > __________________...
2005 Oct 13
1
About Qusi-Monte carlo program
Dear Listers; Does anybody has experience in doing simulation via Qusi-Monte carlo in R or S-plus, if so, could you like to send a small copy of your program to me, I appreciate and thanks in advance!! Frankly speaking, I am struggling to write this kind of program, while I could not figure out, painful!!!!! Best regards, Tony --------------------------------- [[alternative HTML
2011 Oct 22
2
Segfault and bad output with fOptions::rnorm.sobol
I have had the following problem with R 2.10, 2.13.1, and 2.13.2, running on Ubuntu linux 10.04, xubuntu 11.10, and a version of Redhat (I think 5). rnorm.sobol is producing impossible random values, and occasionally the routine crashes. Here are samples of the output and the crash message. library(fOptions) Zs <- rnorm.sobol(50, dimension=1) produces this: [,1] [1,]
2017 May 10
3
registering Fortran routines in R packages
...B(HALTON), 7}, >> {"sobol", (DL_FUNC) &F77_SUB(SOBOL), 11}, >> {NULL, NULL, 0} >> }; >> >> But the problem remains the same. >> >> Is there a way to have header file for Fortran codes? how to declare routines defined in my Fortran file src/LowDiscrepancy.f? >> > > lowercase routine names? manual does mention that. > > Berend Hasselman > > >> Any help appreciated >> >> Regards, Christophe >> --------------------------------------- >> Christophe Dutang >> LMM, UdM, Le Mans, France >...