Skip to content

0.1.1 "Fetching The Distance"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 16 Aug 04:38
· 720 commits to main since this release

This release is smaller than 0.1.0, but includes two new distributions (ZipfianDistribution and LogCauchyDistribution), and the first class to actually use Distribution practically, DistributedRandom! DistributedRandom wraps an EnhancedRandom and a Distribution to make another EnhancedRandom that distributes its results in any of various ways. ZipfianDistribution was requested because it makes sense in many situations where smaller results are more frequent (like Pareto), but the result needs to be bounded (unlike Pareto). No one specifically requested LogCauchyDistribution, but it has a really unusually-shaped graph, so it could be good for toying with the expectations of players in a game.