Troschuetz.Random 2.0.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package Troschuetz.Random -Version 2.0.0
dotnet add package Troschuetz.Random --version 2.0.0
<PackageReference Include="Troschuetz.Random" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Troschuetz.Random --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Library is not portable anymore, it has gone back to .NET framework 4.0.
* New generic classes, which should allow better performance.
* Distribution and Generator abstract classes have been removed in favor of interfaces.
* Checks are now implemented with Code Contracts, rather then with Thrower.
* Some methods, like Integers and Doubles, are now extension methods.
* Overall, codebase is now smaller, which should allow better testing.

Dependencies

This package has no dependencies.

Showing the top 2 GitHub repositories that depend on Troschuetz.Random:

Repository Stars
GoodAI/BrainSimulator
Brain Simulator is a platform for visual prototyping of artificial intelligence architectures.
Chris3606/GoRogue
.NET Standard roguelike library in C#. Features many algorithms and data structures pertinent to roguelike/2D game developers, specifically designed to be minimally intrusive upon the developer's architecture.

Version History

Version Downloads Last updated
4.3.1 521 9/8/2019
4.3.0 24,435 3/11/2018
4.2.0 5,634 10/28/2017
4.1.3 11,280 1/8/2017
4.1.2 471 12/25/2016
4.1.1 567 12/18/2016
4.0.8 723 12/4/2016
4.0.7 1,214 10/30/2016
4.0.5 13,789 8/7/2016
4.0.4 26,356 3/26/2016
4.0.3 17,676 10/11/2015
4.0.0 917 8/18/2015
3.3.0 407 8/9/2015
3.2.0 1,559 9/6/2014
3.1.0 404 9/6/2014
3.0.0 378 9/5/2014
2.1.1 1,615 5/25/2014
2.0.0 652 1/18/2014
1.7.0 500 11/20/2013
1.5.1 534 7/8/2013
1.5.0.1 550 4/7/2013
1.5.0 503 4/6/2013
1.4.3 565 11/23/2012
1.4.2.1 492 11/7/2012
1.4.1.8 525 11/4/2012
Show less