Abelian sandpile model/Identity: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
→‎Python :: Functional: Pruned residual magic numbers.
Hout (talk | contribs)
Line 994: Line 994:


def p(xs):
def p(xs):
return all([x <= w for x in xs])
return all(x <= w for x in xs)
return list(chunksOf(w)(
return list(chunksOf(w)(
until(p)(
until(p)(