Skip to content

Commit

Permalink
[oneMKL][RNG] Add integer 64-bit support for uniform distribution (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyfe1 authored Aug 28, 2024
1 parent 50c99c2 commit e9e4673
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ Generates random numbers uniformly distributed over the interval ``[a, b)``.

.. rubric:: Description

The ``uniform`` class object is used in ``generate`` and function
to provide random numbers uniformly distributed over the interval ``[a, b)``, where ``a, b`` are the left and right
The ``uniform`` class object is used in ``generate`` and function
to provide random numbers uniformly distributed over the interval ``[a, b)``,
where ``a, b`` are the left and right
bounds of the interval respectively, and :math:`a, b \in Z ; a < b`.


Expand Down Expand Up @@ -53,7 +54,7 @@ class uniform
uniform();
explicit uniform(Type a, Type b);
Type a() const;
Type b() const;
};
Expand All @@ -71,6 +72,8 @@ class uniform

* ``std::int32_t``
* ``std::uint32_t``
* ``std::int64_t``
* ``std::uint64_t``

.. container:: section

Expand Down Expand Up @@ -174,4 +177,4 @@ class uniform

Returns the distribution parameter `b` - right bound.

**Parent topic:** :ref:`onemkl_device_rng_distributions`
**Parent topic:** :ref:`onemkl_device_rng_distributions`

0 comments on commit e9e4673

Please sign in to comment.