pub fn fermi_distribution<T1: Num + Sub<T2, Output = T1>, T2: Num>(
    en: T1,
    beta: R,
    mu: T2
) -> T1
Expand description

The Fermi-Dirac distribution.

As a function of the energy en, inverse temperature beta and chemical potential mu.