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

The Fermi-Dirac distribution, summed over positive and negative chemical potential.

As a function of the energy en, inverse temperature beta and chemical potential mu. Equal to fermi_distribution(en, beta, mu) + fermi_distribution(en, beta, -mu).