#1 Roulette Forum & Message Board | www.RouletteForum.cc

Roulette-focused => General Discussion => Topic started by: Still on May 14, 04:03 AM 2023

Title: The Mersenne Twister
Post by: Still on May 14, 04:03 AM 2023
Back in 2020 i was working on a project that used either Wiesbaden or random generated spins to test some concept. Out on the web somewhere i found a pseudorandom number generator that seemed to carry some clout and also found the VBA adaptation so i could use it in my Excel project.  I made just a couple small adaptations for use in my own project and got it to work for me.  Here i am including three .BAS modules that have been saved as .TXT files for inclusion here.  The Mersenne Twister module is mostly NOT my work and is credited in the top comments as i found it. I think all the small adjustments i made are in the Sub mainMersenne() and commented there with my name.  The other two modules are my work, and show how i called the Sub mainMersenne() and made it all work for my own purposes at that time.  You just have to save the modules back as .BAS files, import them into an Excel file, and start experimenting from there. 

According to Wikipedia, the Mersenne Twister is used as default PRNG by the following software:

Programming languages:
 Dyalog APL,
 IDL,
 R,
 Ruby,
 Free Pascal,
 PHP,
 Python

Linux libraries and software:
 GLib,
 GNU Multiple Precision Arithmetic Library,
 GNU Octave,
 GNU Scientific Library

Other:
 Microsoft Excel
 Scilab
 MATLAB

Title: Re: The Mersenne Twister
Post by: riverjay76 on May 14, 04:45 AM 2023
Does anyone on here know how to get hold of Steve I am after a computer he does not answer emails .