C# Mersenne Twister random integer generator implementation (SFMT) monte carlo simulation

后端 未结 5 1584
梦毁少年i
梦毁少年i 2021-02-01 10:37

So far I\'ve been using the C# Mersenne Twister found here to generate random numbers:

http://www.centerspace.net/resources.php

I just discovered SFMT

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 11:20

    You can find a C# implementation of SFMT (plus other RNG algorithms) at... http://rei.to/random.html The page and source code comments are in Japanese but you should be able to figure it out.

    You can also find a Google-translated version (to English) of the page at... http://translate.google.com/translate?hl=en&sl=ja&u=http://rei.to/random.html

提交回复
热议问题