The Dist package

[ Tags: library, math, mit ] [ Propose Tags ]

This library provides a data structure and associated functions for representing discrete probability distributions.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0
Dependencies base (>=4.7 && <=4.9.1.0), containers (>=0.5), MonadRandom (>=0.3) [details]
License MIT
Author William Yager
Maintainer will.yager@gmail.com
Category Math
Home page https://github.com/wyager/Dist
Source repository head: git clone https://github.com/wyager/Dist.git
Uploaded Sun Sep 17 19:02:49 UTC 2017 by wyager
Distributions NixOS:0.4.1.0
Downloads 663 total (59 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-17 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for Dist-0.4.1.0

[back to package description]

Dist

A Haskell library for probability distributions

This library provides a data structure and associated functions for representing discrete probability distributions.

This library is optimized for very fast sampling. If n is the number of unique outcomes, sampling from the distribution is O(log(n)) worst case, and O(1) best case.

The average time complexity depends on the distribution. A more evenly distributed distribution will be closer to O(log(n)). A less evenly dsitributed distribution will be closer to O(1).