summaryrefslogtreecommitdiff
path: root/numpy/random/_common.pxd
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into cython3_noexceptscoder2023-05-041-3/+3
|\
| * BUG: Fix boundschecking for `random.logseries`Sebastian Berg2022-10-181-1/+1
| | | | | | | | | | | | | | | | Logseries previously did not enforce bounds to be strictly exclusive for the upper bound, where it leads to incorrect behavior. The NOT_NAN check is removed, since it was never used: The current bounded version always excludes NaNs.
| * BUG: Fix the return type of random_float_fillHood Chatham2022-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | The `random_float_fill` function type is declared with return type `double` but I think this is a typo. The actual implementation of `random_float_fill` is `random_standard_uniform_fill_f` which has return type `void`: void random_standard_uniform_fill_f(bitgen_t *bitgen_state, npy_intp cnt, float *out) Also, `random_double_fill` is declared with return type `void`. This fixes the return type of `random_float_fill` to match.
| * BUG: Correct Cython declarationKevin Sheppard2021-06-241-1/+1
| | | | | | | | | | | | Correct return type from double to void closes #19312
* | Add "noexcept" markers to functions that do not raise exceptions.Stefan Behnel2023-05-041-20/+20
|/
* BUG: Validate output size in bin- and multinomialKevin Sheppard2020-07-141-0/+2
| | | | | | Check that size is not being broadcast closes #16833
* DOC, API: add numpy.random.__index__.pxd and document numpy.random.* funcsmattip2019-11-211-1/+1
|
* API: move bit_generator and generator to be privatemattip2019-10-111-1/+1
|
* API: refactor function names in distribution.{h,c}, refactor float_fillmattip2019-10-111-0/+1
|
* API: rename common, bounded_integers -> _common, _bounded_integers; cleanupmattip2019-10-111-0/+103