Conversation
|
Could you please provide some before/after benchmarks?
For consistency, I would just go with how it was done for the normal distribution. |
|
|
|
Yes, I found the article (but didn't manage to download it yet). But I think it's worth adding to the credits. Sounds IMO like we should treat this in line with #494; keep the current implementation for now but consider adding this as a fast approximation under |
|
@vks any suggestion on what we do with this? |
|
I would prefer to only maintain one implementation. Can we quantify whether the accuracy of the new implementation is better or worse? |
|
Agreed. Then we (or someone) needs to look into the accuracy. |
|
Closing (but referenced from a tracker). Ideally we should implement #357 before revisiting this. |
Adding an implementation to a very fast algorithm for calculating Cauchy random numbers.
My basic testing of plotting some histograms seems to indicate it is about as numerically stable as the current method we are using.
Not sure about how to do paper credits so I am looking for feedback about that too.