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)

Modules

[Last Documentation]

  • Math
    • Math.Apportionment

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 && <4.6), containers (>=0.4.2 && <0.5), utility-ht (>=0.0 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Category Math
Home page http://hub.darcs.net/thielema/apportionment
Uploaded by HenningThielemann at 2015-08-19T09:21:29Z
Distributions LTSHaskell:0.0.0.4, NixOS:0.0.0.4, Stackage:0.0.0.4
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3500 total (30 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-02 [all 7 reports]