[Numpy-discussion] 8 Real Distributions

Michael Lance michael.lance at gmail.com
Mon Jan 20 11:39:27 EST 2020


Okay, thanks! 3rd party it is.


On Mon, Jan 20, 2020, 10:54 AM Robert Kern <robert.kern at gmail.com> wrote:

> On Tue, Jan 21, 2020 at 12:37 AM Michael Lance <michael.lance at gmail.com>
> wrote:
>
>> Hi Ralf,
>>
>> These are functions that generate data sets when invoked, like Numpy
>> already does with mathematical distributions.
>>
>
> It's something of a judgement call. These distribution functions are
> defined by tables. The most efficient way to implement them in Python would
> be to just make them static arrays in a module that one uses
> `Generator.choice()` on instead of a function that generates the arrays,
> just to pick out one value and throw away the array again.
>
> Regardless of what you want to call them or how you want to implement
> them, a third-party module is the right place for them.
>
> --
> Robert Kern
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20200120/b8234467/attachment-0001.html>


More information about the NumPy-Discussion mailing list