[Numpy-discussion] numpy C-API :: use numpy's random number generator in a ufunc

Daniel Knüttel daniel.knuettel at daknuett.eu
Mon Sep 9 05:43:33 EDT 2019


Hi folks,

I currently have a project that requires randomness in a ufunc. 
In order to keep the ufuncs as reproducible as possible I would like to
use numpy's random number generator for that; basically because setting
the seed will be more intuitive this way.

However I cannot find the documentation of the numpy.random C-API (does
it have one?). How would one do that?

Cheers,
-- 
Daniel Knüttel <daniel.knuettel at daknuett.eu>



More information about the NumPy-Discussion mailing list