One-dimensional cellular automata: Difference between revisions
Content added Content deleted
(→Python :: Composition of pure functions: Adjusted one value name for legibility) |
(→Composition of pure functions: (The task example is rule 104, which needs a richer seeding)) |
||
Line 3,996: | Line 3,996: | ||
===Composition of pure functions=== |
===Composition of pure functions=== |
||
Interpreting the rule shown in the task description as Wolfram rule |
Interpreting the rule shown in the task description as a Wolfram rule, and generalising enough to allow for other rules of this kind: |
||
<lang python>"""Cellular Automata""" |
<lang python>"""Cellular Automata""" |
||