apportionment: Round a set of numbers while maintaining its sum

[ bsd3, library, math ] [ Propose Tags ]

Round a set of numbers while maintaining its sum. According procedures are used to assign seats to parties in a parliament. You may also use it to round percentages that sum up to 100%. https://en.wikipedia.org/wiki/Apportionment_(politics)

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0, 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4
Dependencies base (>=4.5 && <5), containers (>=0.4.2 && <0.7), utility-ht (>=0.0.11 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Category Math
Home page https://hub.darcs.net/thielema/apportionment
Source repo this: darcs get https://hub.darcs.net/thielema/apportionment --tag 0.0.0.4
head: darcs get https://hub.darcs.net/thielema/apportionment
Uploaded by HenningThielemann at 2022-01-02T17:56:47Z
Distributions LTSHaskell:0.0.0.4, NixOS:0.0.0.4, Stackage:0.0.0.4
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3501 total (31 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-01-02 [all 1 reports]