[Numpy-discussion] Adopt Mersenne Twister 64bit?
Tue Mar 12 19:33:19 CDT 2013
Neal Becker wrote:
> I guess I talked to you about 100 years ago about sharing state between numpy
> rng and code I have in c++ that wraps boost::random. So is there a C-api for
> this RandomState object I could use to call from c++? Maybe I could do
> something with that.
> The c++ code could invoke via the python api, but that might be slower. I'm
> just rambling here, I'd have to see the API to get some ideas.
I think if I could just grab a long int from the underlying mersenne twister,
through some c api?
More information about the NumPy-Discussion