VOOZH about

URL: https://www.nuget.org/packages/Tavenem.Randomize/

⇱ NuGet Gallery | Tavenem.Randomize 2.3.3




👁 Image
Tavenem.Randomize 2.3.3

Prefix Reserved
dotnet add package Tavenem.Randomize --version 2.3.3
 
 
NuGet\Install-Package Tavenem.Randomize -Version 2.3.3
 
 
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.
<PackageReference Include="Tavenem.Randomize" Version="2.3.3" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tavenem.Randomize" Version="2.3.3" />
 
Directory.Packages.props
<PackageReference Include="Tavenem.Randomize" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tavenem.Randomize --version 2.3.3
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tavenem.Randomize, 2.3.3"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tavenem.Randomize@2.3.3
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tavenem.Randomize&version=2.3.3
 
Install as a Cake Addin
#tool nuget:?package=Tavenem.Randomize&version=2.3.3
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 build
👁 NuGet downloads

Tavenem.Randomize

Tavenem.Randomize provides pseudo-random number generation in various distributions.

For example, to print a single value from a normal distribution:

Console.WriteLine(Randomizer.Instance.NormalDistributionSample());

To print 10,000 values:

foreach (var value in Randomizer.Instance.NormalDistributionSamples(10000))
{
 Console.WriteLine(value);
}

Supported distributions:

Tavenem.Randomize utilizes a Mersenne Twister by default, but also provides a mechanism for replacing the underlying generator with your own, provided it implements the library's IGenerator interface.

The library also provides a serializable RandomParameters struct, which can be used to persist or transport the parameters used to obtain a random value.

Tavenem.Randomize also provides a Rehydrator class that allows a deterministic set of random values to be recreated from the same seed, even if those values are requested out of order.

Installation

Tavenem.Randomize is available as a NuGet package.

Roadmap

Tavenem.Randomize is a relatively stable library. Although additions and bugfixes are possible at any time, release should generally be expected to folow the .NET release cycle, with one or more preview releases during a framework preview, and a new stable release coinciding with the release of a new .NET framework major version.

Contributing

Contributions are always welcome. Please carefully read the document to learn more before submitting issues or pull requests.

Code of conduct

Please read the before engaging with our community, including but not limited to submitting or replying to an issue or pull request.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Tavenem.Randomize:

Package Downloads
Tavenem.Universe

Classes to help model a universe.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.3 314 12/9/2024
2.2.9 432 11/24/2023
2.2.8-preview-0002 438 7/25/2023
2.2.7-preview-0001 256 7/21/2023
2.1.3 682 11/8/2022
2.1.0-preview.2 258 9/29/2022
2.1.0-preview.1 341 9/13/2022
2.0.0 614 12/3/2021
2.0.0-preview.1 313 8/27/2021
1.0.1 836 5/4/2021
1.0.0 717 4/9/2021