Simple C++ class for sampling low discrepancy reccurrence sequence described in The Unreasonable Effectiveness of Quasirandom Sequences
Uses pybind to expose functionality in python.
pip install .
from the root of this repo
Then rsequence
can be imported in python.
For usage check out the example notebook
This is how the low discrepancy sequence looks compared to a pseudorandom sample (uniform)
You can keep sampling from the same object, and the whole sequence will be low-discrepancy.