Mersenne Twister

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I posted this in the general section, but have had no
response, so I'm trying here again - sorry if this double-
dipping is bad form or causes a problem.

Does anyone have a VBA implementation of the Mersenne
Twister pseudo random number generator. I've seen several
C versions and even a Fortran version. My C is pretty
weak and it's been a while since I did anything in
Fortran, but between the two I think I can figure
out "pseudo code" that I need. But I can't find the bit
shifting functions that the generator depends on in VBA.

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top