Exact density functional for hard-rod mixtures derived from Markov chain approach Article uri icon