Heat-bath Markov chain (source code)

= Heat-bath Markov chain

A heat-bath Markov chain repeatedly chooses one coordinate and redraws it from its conditional distribution given all other coordinates. The target distribution is reversible and stationary for these updates.