[Numpy-discussion] 8 Real Distributions
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>
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion