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?

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to