eterm
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
112 ms·
- 1351.▲
- 1352.▲
- 1353.▲
- 1354.▲
- 1355.▲
- 1356.▲
- 1357.▲
- 1358.▲
- 1359.▲
- 1360.▲
- 1361.▲
- 1362.▲
- 1363.▲
- 1364.▲
- 1365.▲
- 1366.▲
- 1367.▲
- 1368.▲
- 1369.▲
- 1370.▲
- 1371.▲
- 1372.▲
- 1373.▲
- 1374.▲
- 1375.▲
- 1376.▲
Is that true? Imagine I want to sample [0,2), then I can use the following table: [0,0,0,1,1,0,1,1]. This has cycle length 8. Much longer cycles can be obtained, it just requires the state of the prng to be larger than range being sampled. - 1377.▲
- 1378.▲
- 1379.▲
- 1380.▲
More ›