1

Possible Duplicate:
C# Normal Random Number

Can anyone suggest me on what kind of libraries we can use for random number generation woth Gaussian or uniform distribution like in matlab in C#

Community
  • 1
  • 1

1 Answers1

4

I'd recommend this project http://www.codeproject.com/KB/recipes/Random.aspx It contains these random number generator algorithms:

  1. Additive Lagged Fibonacci
  2. Mersenne Twister
  3. A "standard" generator based on System.Random
  4. xorshift

It contains quite a few continuous and discrete distributions as well.

Chris Wood
  • 132
  • 2
  • 8