Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this links to the originator's page:
Home page of Makoto Matsumaoto: http://www.math.sci.hiroshima-u.ac.j...at/eindex.html (English version) which has links to this page which contains links to an xll implementation which you can use: http://www.math.sci.hiroshima-u.ac.j...CEL/excel.html I haven't tried it, but that is what is says. -- Regards, Tom Ogilvy "Tony" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HERE'S A REAL BRAIN TWISTER: | Excel Worksheet Functions | |||
Mersenne Twister | Excel Discussion (Misc queries) |