I am rewriting a Python module in C++ using Boost Python. The Python module samples numbers from various random distributions, using numpy.random. For the C++ version, I am using the GSL.
I would like to test my new module to ensure parity with the old version. I understand that to do this, the random number generators (which are Mersenne Twisters in both cases) should have their seeds set identically.
However, from this question, it seems that just setting the seed is not sufficient, the random state should set shared as well.
Is it possible to do this between these two libraries?