sampling: Sample values from collections.

[ 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.

Versions 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3
Dependencies base (>4.8 && <6), containers (>=0.5 && <1), foldl (>=1.1 && <2), mwc-random (>=0.13 && <0.15), primitive (>=0.6 && <1), vector (>=0.11 && <1) [details]
License MIT
Author Jared Tobin
Maintainer jared@jtobin.ca
Revised Revision 1 made by JaredTobin at Wed Jul 11 23:27:30 UTC 2018
Category Math
Home page https://github.com/jtobin/sampling
Source repo head: git clone http://github.com/jtobin/sampling.git
Uploaded by JaredTobin at Mon Apr 16 23:33:46 UTC 2018
Distributions LTSHaskell:0.3.3, NixOS:0.3.3, Stackage:0.3.3
Downloads 1216 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-16 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees