Opened 11 years ago
Closed 9 years ago
#6804 closed Feature Requests (fixed)
Beta and Laplace distributions for Boost.Random
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | random |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Both Beta and Laplace are two very common distributions that are missing from Boost.Random, and both are very easy to implement provided existing distributions in Boost.Random
I have drafted implementations for these two distributions. I have tried my best to follow to the conventions in the existing code. However, there seems to be small inconsistency among existing distribution implementations. I followed those I found in normal_distribution.hpp
Attachments (2)
Change History (3)
by , 11 years ago
Attachment: | laplace_distribution.hpp added |
---|
by , 11 years ago
Attachment: | beta_distribution.hpp added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in http://github.com/boostorg/random/commit/ed9f359d4bd1af25e3007f560d250705faf6722c, http://github.com/boostorg/random/commit/2edb377b135558fe55e0215d1fb65b5084c8e15f, and http://github.com/boostorg/random/commit/b7fae47331ad97021ba2645f1c66f25bda9d60d8.