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