5 std::iota(indices_.begin(), indices_.end(), 0);
6 std::shuffle(indices_.begin(), indices_.end(), std::mt19937(std::random_device()()));
7 indices_.resize(samples);
Sampling(t_uint size, std::vector< t_uint > const &indices)
Constructs from a vector.
size_t t_uint
Root of the type hierarchy for unsigned integers.