Creates an integral table on instantiation (cpu intensive) which is then used by the streams to generate random values efficiently.
desired probability distribution (histogram).
lower bound of the resulting values.
upper bound of the resulting values.
number of values to repeat.
resample table to this size. If the size of the distribution is smaller than 64, it is (linearly) resampled to this minimum size.
set the distribution, the table is recalculated.
set the resample size, the table is recalculated.