2

I need standard normal (Gaussian) random variables for my simulation. What is the easiest way to generate them? Unlike in java, the standard Random class seems to cater for only uniform variables.

DOK
  • 32,337
  • 7
  • 60
  • 92
Grzenio
  • 35,875
  • 47
  • 158
  • 240

1 Answers1

5

The MathNet.Numerics library works well with F# and provides various random generators as well as different probability distribution with random sampling methods. Some more details on how to apply random sampling from probability distributions can be found here.

Guy Coder
  • 24,501
  • 8
  • 71
  • 136
Anders Gustafsson
  • 15,837
  • 8
  • 56
  • 114