Re: [Numpy-discussion] Pull request review #3770: Trapezoidal distribution

2013-09-23 Thread Jeremy Hetzel
On Sun, Sep 22, 2013 at 9:47 AM, Mark Szepieniec wrote: > > On Sun, Sep 22, 2013 at 1:24 PM, wrote: > >> >> I don't see a reason that numpy.random shouldn't get new >> distributions. It would also be useful to add the corresponding >> distribution to scipy.stats. >> > I have the pdf, cdf, and i

[Numpy-discussion] Pull request review #3770: Trapezoidal distribution

2013-09-21 Thread Jeremy Hetzel
I've added a trapezoidal distribution to numpy.random for consideration, pull request 3770: https://github.com/numpy/numpy/pull/3770 Similar to the triangular distribution, the trapezoidal distribution may be used where the underlying distribution is not known, but some knowledge of the limits and