The sampling package

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

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
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 279 total (13 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-31 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees