[Numpy-discussion] Re: Consistency of random number functions APIs.

2021-11-01 Thread Kevin Sheppard
> Some NumPy random number generation functions take a dtype parameter > whereas others don't. Some of them take an out parameter whereas others > don't. Just glancing at it, there seems to be no rhyme or reason why this > would be the case but is there some hidden consistency underneath the hood

[Numpy-discussion] Re: Consistency of random number functions APIs.

2021-10-31 Thread Ralf Gommers
On Sat, Oct 30, 2021 at 9:44 PM Todd Anderson wrote: > Some NumPy random number generation functions take a dtype parameter > whereas others don't. Some of them take an out parameter whereas others > don't. Just glancing at it, there seems to be no rhyme or reason why this > would be the case b