The sampling package

[Tags:benchmark, library, mit, test]

Basic sampling tools.

Exports variations on two simple functions for sampling from arbitrary Foldable collections:

Each variation can be prefixed with p to sample from a container of values weighted by probability.

Properties

Versions 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.3.2
Dependencies base (>4.8 && <5), containers (>=0.5 && <1), foldl (>=1.1 && <2), mwc-random (==0.13.*), primitive (>=0.6 && <1), vector (>=0.11 && <1) [details]
License MIT
Author Jared Tobin
Maintainer jared@jtobin.ca
Stability Unknown
Category Math
Home page https://github.com/jtobin/sampling
Source repository head: git clone http://github.com/jtobin/sampling.git
Uploaded Tue Jan 31 23:08:44 UTC 2017 by JaredTobin
Distributions LTSHaskell:0.3.2, NixOS:0.3.2, Stackage:0.3.2, Tumbleweed:0.3.2
Downloads 167 total (15 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-01-31 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees