RecipePythonBeginner Fixation probability by simulation: how often a beneficial mutation survives s = np.atleast_1d(np.asarray(s, dtype=float))
ToolPythonIntermediate Numba from the ground up: a Monte Carlo Ising model a hundred times faster T = np.atleast_1d(np.asarray(T, dtype=float))