Rodin/Test/Random/RandomInteger.h file

Uniform random integer generators for randomized tests.

Namespaces

namespace Rodin
The Rodin library for finite element methods and shape optimization.
namespace Rodin::Test
Helpers for constructing numerical tests.

Classes

template<class T>
struct Rodin::Test::Random::detail::UniformIntDistType
Maps integral types to a distribution-compatible type.
template<class T = int>
class Rodin::Test::Random::RandomInteger
Uniform random integer generator for tests.

Typedefs

template<class T>
using UniformIntDistTypeT = typename UniformIntDistType<T>::type
Helper alias for UniformIntDistType::type.