Item request has been placed! ×
Item request cannot be made. ×
loading  Processing Request

Batched ranged random integer generation

Item request has been placed! ×
Item request cannot be made. ×
loading   Processing Request
  • معلومة اضافية
    • بيانات النشر:
      Preprint
    • بيانات النشر:
      Wiley, 2024.
    • الموضوع:
      2024
    • نبذة مختصرة :
      SummaryPseudorandom values are often generated as 64‐bit binary words. These random words need to be converted into ranged values without statistical bias. We present an efficient algorithm to generate multiple independent uniformly‐random bounded integers from a single uniformly‐random binary word, without any bias. In the common case, our method uses one multiplication and no division operations per value produced. In practice, our algorithm can more than double the speed of unbiased random shuffling for small to moderately large arrays.
    • ISSN:
      1097-024X
      0038-0644
    • الرقم المعرف:
      10.1002/spe.3369
    • الرقم المعرف:
      10.22541/au.172477347.74689772/v1
    • الرقم المعرف:
      10.48550/arxiv.2408.06213
    • الرقم المعرف:
      10.1002/spe3369
    • Rights:
      CC BY
    • الرقم المعرف:
      edsair.doi.dedup.....84e5988f70cdd49e372edf778fa5f638