MersenneTwister 1.0.6

.NET Core 1.0 .NET Standard 1.0
NuGet\Install-Package MersenneTwister -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package MersenneTwister --version 1.0.6
<PackageReference Include="MersenneTwister" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MersenneTwister --version 1.0.6
#r "nuget: MersenneTwister, 1.0.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MersenneTwister as a Cake Addin
#addin nuget:?package=MersenneTwister&version=1.0.6

// Install MersenneTwister as a Cake Tool
#tool nuget:?package=MersenneTwister&version=1.0.6

This portable class library provides Mersenne Twister PRNGs;

Mersenne Twister (MT):
- MT19937ar, MT19937ar-cok, MT19937ar-cok-opt
- MT19937-64, MT19937-64-opt

SIMD-oriented Fast MT (SFMT):
- SFMT-19937, SFMT-opt-19937

Double precision SFMT (dSFMT):
- dSFMT-19937, dSFMT-opt-19937
- dSFMT-opt-gen-* (Generics version for many Mersenne Exponents)
-- 521, 1279, 2203, 4253, 11213, 19937, 44497, 86243, 132049, 216091

You can use any PRNG via a corresponding System.Random derived wrapping class:
- MTRandom
- MT64Random
- SfmtRandom
- DsfmtRandom

and also we provide Randoms class for convenience that has;
- Create(RandomType type) to get the suitable implementaiton such as fastest for Random.Next()
- Thread-local default object propreties:
-- WellBalanced for general purpose
-- FastestInt32 for Random.Next()
-- FastestDouble for Random.Next(int) or Next(int,int) or NextDouble()

Further more, AccurateRandom class provides accurate results of Random.Next(int maxValue) and Next(int minValue, int maxValue).

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MersenneTwister:

Package Downloads
SciML.NeuralNetwork

The package contains base of neural networks, entities and implementation of activation functions.

SciML.GeneticAlgorithm

The package contains implementation of genetic algorithm variations and related entities.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MersenneTwister:

Repository Stars
luiges90/ZHSan
中華三國志
Version Downloads Last updated
1.0.6 19,059 5/22/2019
1.0.5 9,309 10/28/2016