Function Aux::Random::index

Function Documentation

std::size_t Aux::Random::index(std::size_t max)
Returns:

a size_t in the range [0, max - 1] that can for example be used to access a random element of a container.