Skip to main content

maxwell_boltzmann

Function maxwell_boltzmann 

Source
pub fn maxwell_boltzmann(c: &Constellation, lambda: f64) -> Vec<f64>
Expand description

Maxwell–Boltzmann probabilities p_i ∝ exp(-λ |x_i|²) over the points of c.

λ = 0 gives the uniform distribution; larger λ favour the low-energy points (probabilistic constellation shaping).