Report a bug
If you spot a problem with this page, click here to create a Github issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Mir Random

Professional Random Number Generators.

The following table is a quick reference guide for which Mir Random modules to use for a given category of functionality.

Modules Description
    Basic API
mir.random Basic API to generate random numbers. Contains generic rand function that generates real, integral, boolean, and enumerated uniformly distributed values. Publicly includes mir.random.engine.
    Random Variables
mir.random.variable Random variables for uniform, exponential, gamma, normal, and other distributions.
    Integration with Phobos
mir.random.algorithm Random ndslices and ranges.
    Entropy Generators
mir.random.engine unpredictableSeed, Random alias, common engine API.
mir.random.engine.linear_congruential Linear Congruential generator.
mir.random.engine.mersenne_twister Mersenne Twister generator.
mir.random.engine.xorshift Xorshift generator.
Copyright: Copyright © 2016-, Ilya Yaroshenko.