UniformCustomDistribution< T > Class Template Reference

A uniform distribution function object which redirects appropriately to either the `std::uniform_int_distribution`

or the `std::uniform_real_distribution`

. This also provides a convenience constructor which takes a 2-element array for the bounds for either floating point or int distributions.
More...

`#include <MakeWithRandomValues.hpp>`

## Public Member Functions | |

template<typename Bound > | |

UniformCustomDistribution (std::array< Bound, 2 > arr) noexcept | |

class UniformCustomDistribution< T >

A uniform distribution function object which redirects appropriately to either the `std::uniform_int_distribution`

or the `std::uniform_real_distribution`

. This also provides a convenience constructor which takes a 2-element array for the bounds for either floating point or int distributions.

The documentation for this class was generated from the following file:

- tests/Unit/Helpers/DataStructures/MakeWithRandomValues.hpp

© Copyright 2017 - 2020 SXS Collaboration, Distributed under the MIT License