Troschuetz.Random
4.0.7
Fully managed library providing various random number generators and distributions.
More precisely, this library offers 7 generators (ALF, MT19937, Standard, XorShift128, NR3, NR3Q1, NR3Q2), 6 discrete distributions (Bernoulli, Binomial, Categorical, DiscreteUniform, Geometric, Poisson) and 21 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 have done with his great project, was 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 the project URL.
See the version list below for details.
Install-Package Troschuetz.Random -Version 4.0.7
dotnet add package Troschuetz.Random --version 4.0.7
<PackageReference Include="Troschuetz.Random" Version="4.0.7" />
paket add Troschuetz.Random --version 4.0.7
#r "nuget: Troschuetz.Random, 4.0.7"
// Install Troschuetz.Random as a Cake Addin #addin nuget:?package=Troschuetz.Random&version=4.0.7 // Install Troschuetz.Random as a Cake Tool #tool nuget:?package=Troschuetz.Random&version=4.0.7
Release Notes
* Updated Thrower to v3.0.4 (PR#1 by Corniel Nobel).
* Updated NUnit to v3.5.0 (PR#1 by Corniel Nobel).
* Default seed now takes into account process ID.
* Default seed now uses a GUID to improve randomness.
* Updated broken Google-hosted links.
* Fixed a bug in CategoricalDistribution. Weights were not normalized correctly.
* Changed how ParetoDistribution is computed. Now a transformation based on exponential is used.
Dependencies
-
- Thrower (>= 3.0.4)
Used By
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Troschuetz.Random:
Package | Downloads |
---|---|
CryptoBazar
Package Description
|
|
GoRogue
Roguelike/2D game utility library.
|
|
ZHWebFramework.Common
Just my common library
|
|
NDice.Randomizers.Troschuetz
Randomizer for NDice using Troschuetz.Random
|
|
GoRogue-std2
Roguelike/2D game utility library.
|
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Troschuetz.Random:
Repository | Stars |
---|---|
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.
|
|
GoodAI/BrainSimulator
Brain Simulator is a platform for visual prototyping of artificial intelligence architectures.
|
Version History
Version | Downloads | Last updated |
---|---|---|
5.0.1 | 5,111 | 7/26/2020 |
4.4.0 | 1,100 | 7/22/2020 |
4.3.3 | 480 | 7/21/2020 |
4.3.1 | 27,644 | 9/8/2019 |
4.3.0 | 57,445 | 3/11/2018 |
4.2.0 | 6,034 | 10/28/2017 |
4.1.3 | 12,842 | 1/8/2017 |
4.1.2 | 798 | 12/25/2016 |
4.1.1 | 891 | 12/18/2016 |
4.0.8 | 1,052 | 12/4/2016 |
4.0.7 | 1,589 | 10/30/2016 |
4.0.5 | 15,241 | 8/7/2016 |
4.0.4 | 27,320 | 3/26/2016 |
4.0.3 | 18,493 | 10/11/2015 |
4.0.0 | 1,511 | 8/18/2015 |
3.3.0 | 713 | 8/9/2015 |
3.2.0 | 1,912 | 9/6/2014 |
3.1.0 | 721 | 9/6/2014 |
3.0.0 | 698 | 9/5/2014 |
2.1.1 | 1,996 | 5/25/2014 |
2.0.0 | 1,014 | 1/18/2014 |
1.7.0 | 812 | 11/20/2013 |
1.5.1 | 867 | 7/8/2013 |
1.5.0.1 | 863 | 4/7/2013 |
1.5.0 | 827 | 4/6/2013 |
1.4.3 | 877 | 11/23/2012 |
1.4.2.1 | 810 | 11/7/2012 |
1.4.1.8 | 834 | 11/4/2012 |