Fully managed library providing various random number generators and distributions.
More precisely, this library offers four generators (ALF, MT19937, Standard, XorShift128), five discrete distributions (Bernoulli, Binomial, 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
See the version list below for details.
Install-Package Troschuetz.Random -Version 1.4.3
dotnet add package Troschuetz.Random --version 1.4.3
<PackageReference Include="Troschuetz.Random" Version="1.4.3" />
paket add Troschuetz.Random --version 1.4.3
Starting from release 18.104.22.168, releases will come slower, since much effort will be devoted to create unit tests and improve available code.
Moreover, from that release you will find a tester in the package, to "play" with available distributions and generators.
This revision adds new methods to generate infinite sequence of random numbers, and makes the already available ones more efficient.
This package has no dependencies.