[Numpy-discussion] Inaccurate documentation of the random c-api

zoj613 blkzol001 at myuct.ac.za
Sun Apr 18 04:01:09 EDT 2021

Hi All,

https://numpy.org/devdocs/reference/random/c-api.html has an inaccurate
description of the API that goes as follows:
"/zig in the name are based on a ziggurat lookup algorithm is used instead
of calculating the log, which is significantly faster. The non-ziggurat
variants are used in corner cases and for legacy compatibility./". It
appears this is no longer the case and instead there are functions that have
`inv` in the name to signal the use of the inverse method for sampling. I
submited a PR to reflect this and also added the missing function signatures
at https://github.com/numpy/numpy/pull/18797/files


Sent from: http://numpy-discussion.10968.n7.nabble.com/

More information about the NumPy-Discussion mailing list