Fully managed library providing various random number generators and distributions.
More precisely, this library offers four generators (ALF, MT19937, Standard, XorShift128), six discrete distributions (Bernoulli, Binomial, Categorical, DiscreteUniform, Geometric, Poisson) and twenty continuous distributions (like Normal, Exponential, ChiSquare, Beta, and so on); moreover, it offers a random class similar to the one Python offers (TRandom).
All the hard work behind this library was done by Stefan Troschütz, and for which I thank him very much. What I am doing with his great project, is simply to refactor and improve his code, while offering the new random class similar to the one Python offers.
You can find the modified source code and the available documentation at this address: http://goo.gl/vIV2G
NOTICE: If you need more performance, please have a look at the Troschuetz.Random.Unchecked package. It is a release where all integrity checks have been stripped away.
See the version list below for details.
Install-Package Troschuetz.Random -Version 126.96.36.199
dotnet add package Troschuetz.Random --version 188.8.131.52
<PackageReference Include="Troschuetz.Random" Version="184.108.40.206" />
paket add Troschuetz.Random --version 220.127.116.11
* Made library portable: now it should work with Silverlight, Windows Phone, Windows 8.
* .NET Framework 4.0 is now required in order to have the library portable.
- Thrower (>= 0.9.7)