apportionment: Round a set of numbers while maintaining its sum

[ bsd3, library, math ] [ Propose Tags ] [ Report a vulnerability ]

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

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

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.8), utility-ht (>=0.0.11 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Revised Revision 1 made by HenningThielemann at 2024-10-26T18:12:32Z
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 3676 total (17 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]