Inaccurate documentation of the random c-api
18 Apr
2021
18 Apr
'21
8:01 a.m.
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 Regards -- Sent from: http://numpy-discussion.10968.n7.nabble.com/
1103
Age (days ago)
1103
Last active (days ago)
0 comments
1 participants
participants (1)
-
zoj613