[Pyrex] using numpy arrays and random number generators in Pyrex

Mark P. Miller mpmusu at cc.usu.edu
Wed Jan 31 15:14:32 UTC 2007


This is likely a naive question on my part, but how do I use numpy's and 
python's random number generators within a pyrex module?  Please note 
that I have little experience with C, so any detailed descriptions would 
be greatly appreciated.

Same thing goes for numpy arrays.  Is there a correct way to pass a 
numpy array to a pyrex function?

Thanks,

-Mark



More information about the Pyrex mailing list