[][src]Module ising_lib::calculations

Utilities for calculations and measurements.

Structs

TRange

An iterator over equally spaced temperatures within the range [T_min, T_max].

Functions

calc_I

Calculate average magnetization from magnetization levels.

calc_X

Calculate average magnetic susceptibility from magnetization levels.

calc_dE

Calculate average energy fluctuation at given temperature from energy levels.

calc_flip_probability

Calculate the probability of a flip based on the energy difference it would cause and the temperature.