C API for Python's RNG?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Fri Jun 28 15:31:12 EDT 2002


Tom Loredo <loredo at astro.cornell.edu> writes:
> Oops!  I should have dug first---the standard lib RNG is pure
> Python.  So I guess it's Numeric or some third-party RNG if
> I want to do this quickly.  Any suggestions?

The Python RNG is simple enough that you should be able to re-code it
in C for your extension easily.



More information about the Python-list mailing list