Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 410 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 410 Bytes

moc

A small personal project showing how the Boltzmann distribution arises in a simple combinatorics problem (hence the name, moc = multi-oscillator combinatorics).

Samples assignments of K balls in N bins and computes the empirical distribution over the number of balls in the first bin. Employs importance sampling to overcome difficulties with a naive sampling technique.