Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 629 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 629 Bytes

randompartitions

Uniform random sampling of integer partitions, optionally with a fixed number of parts

This is a straighforward implementation of Arratia & DeSalvo's Algorithm 5 Probabilistic Divide-and-Conquer Deterministic Second Half for Integer Partitions, arXiv:1110.3856, together with DeSalvo's answer on Stack Overflow.

See the Jupyter notebook for examples and use.

Installation

conda install -c alicedb randompartitions