lundi 29 avril 2019

How do I share the random number generator in numpy c-api

I wrote a Python program that call random functions from bothnumpy (e.g., np.random.normal) and also used some c++ functions which I compile and call using the standard numpy c-api. How can I make sure that all the functions use the same pseudo random number generator?




Aucun commentaire:

Enregistrer un commentaire