Abelian sandpile model/Identity: Difference between revisions
Content deleted Content added
→Python :: Functional: Pruned residual magic numbers. |
|||
Line 994: | Line 994: | ||
def p(xs): |
def p(xs): |
||
return all( |
return all(x <= w for x in xs) |
||
return list(chunksOf(w)( |
return list(chunksOf(w)( |
||
until(p)( |
until(p)( |