Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.59 KB

File metadata and controls

55 lines (41 loc) · 2.59 KB

The class :doc:`mkl_random.MKLRandomState <./api>` exposes sampling from probability distributions while supporting different streams of randomness, also known as basic random number generators.

The basic random number generator is chosen by specifying brng keyword argument to the constructor of mkl.MKLRandomState class.

The list of supported basic random number generators is as follows (also see oneMKL Engines):

Drop-in interfaces

The :mod:`mkl_random.interfaces` submodule provides drop-in replacements for standard random modules:

Patching

:mod:`mkl_random` can :ref:`patch numpy.random <patching>` so that existing code calling numpy.random functions can use :mod:`mkl_random` implementations.

.. toctree::
    :hidden:

    api
    interfaces
    patching
    mt19937
    sfmt19937
    r250
    mt2203
    wichmann_hill
    mcg31
    mcg59
    mrg32k3a
    philox4x32x10
    nondeterministic
    ars5