Random Walk, Laplace Equation, Poisson Equation, Brownian Motion, Maxwell Boltzmann.
Laplace equation at w''' return w[0]**2-w[1]**2 @njit def check_exit_boundary(v): '''check if v has intersected with the rectangular boundary v=(x,y): 2 Dim vector return True or False''' if v[0]< 0 or v[0]>1 or v[1]>1 or v[1]<0: return True return False @njit def generate_exit_time(v, delta_t =