[Numpy-discussion] NumPy logo merchandise available at spreadshirt NumFOCUS shop

2021-03-08 Thread Sebastian Berg
On Thu, 2021-03-04 at 16:54 -0800, Stephan Hoyer wrote: > I love your mittens! > > NumPy really should be in the NumFOCUS store, but it currently isn't: > https://shop.spreadshirt.com/numfocus/all > Various items with the NumPy logo (text below cube) are now available here from the NumFOCUS spre

Re: [Numpy-discussion] Using logfactorial instead of loggamma in random_poisson sampler

2021-03-08 Thread zoj613
What do you think is the explanation for that? I had assumed that using a lookup table would be faster considering that the loggam implementation has loops and makes calls to elementary functions in it. -- Sent from: http://numpy-discussion.10968.n7.nabble.com/ __

Re: [Numpy-discussion] Using logfactorial instead of loggamma in random_poisson sampler

2021-03-08 Thread Kevin Sheppard
I did a quick test and using random_loggam was about 6% faster than using logfactorial (on Windows). Kevin On Sun, Mar 7, 2021 at 2:40 AM Robert Kern wrote: > On Sat, Mar 6, 2021 at 1:45 PM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> At the time, making that change was not a h

Re: [Numpy-discussion] guide for downstream package authors & setting version constraints

2021-03-08 Thread zoj613
Thanks for the suggestion. However I was able to solve the issue I had by just creating inline wrapper functions in cython for the C functions so I dont have to link them when importing in other 3rd party cython modules. -- Sent from: http://numpy-discussion.10968.n7.nabble.com/