February 18th, 2008, 7:59 pm
"Which is the best algorithm? GSL seems to suggest ranlux, others say it's ran2 from numerical recipes... Some convergence testing I did seems to suggest ranlux is a lot better. "ExSan uses core code from Numerical Recipes in C++ 2nd Ed. You may use the attached program that generates random numbers for your final evaluation.MENU: 1 Generate Random NumbersRAND MENU1 Uniform Random Deviate between 0.0 and 1,2 Normally distributed deviate N(0, 1) ,3 Exponential,4 Pareto,5 Gamma,6 Poisson Deviates, 7 Correlated Random Numbers,8 Log Normal Distributed Random number,9 Fisher Distributed Random Numbers,10 Hyperbolic Distributed Random Numbers ...men at work,b Simulating Geometric Brownian Motion, !NEWo Simulating Ornstein-Uhlenbeck Process, !NEWv Simulating Interest Rates with the Vasicek Model, !NEWs Simulating the Schwartz Type 1 Stochastic Process, !NEWFrom the download-able file extract executable EXSAN to your desktop.The very first time EXSAN is executed it will create the default input/output directory c:\exsanIn order to access this directory START / RUN and type in c:\exsan
-
Attachments
-
RandomNumbersExSan3.18.f.zip
- (1.41 MiB) Downloaded 85 times
Last edited by
ExSan on November 21st, 2008, 11:00 pm, edited 1 time in total.