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 and so on); moreover, it offers a Python-style random class (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 Python-style random class.
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 18.104.22.168
dotnet add package Troschuetz.Random --version 22.214.171.124
<PackageReference Include="Troschuetz.Random" Version="126.96.36.199" />
paket add Troschuetz.Random --version 188.8.131.52
This can be considered a stable release, excluding the class TRandom, which is new and incomplete.
As of 184.108.40.206, TRandom exposes all other distributions, is more documented and tested.
WARNING: Until further notice, class TRandom has to be considered not so stable.
WARNING: This package is young, and the owner is quite new to the NuGet system. If you find any problem, please contact the owner.
This package has no dependencies.
Showing the top 2 GitHub repositories that depend on Troschuetz.Random:
Brain Simulator is a platform for visual prototyping of artificial intelligence architectures.
.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.