[−][src]Function ising_lib::calculations::calc_flip_probability
pub fn calc_flip_probability(E_diff: f64, T: f64, K: f64) -> f64
Calculate the probability of a flip based on the energy difference it would cause and the temperature.