One-dimensional cellular automata: Difference between revisions
One-dimensional cellular automata (view source)
Revision as of 19:12, 10 November 2014
, 9 years ago→{{header|jq}}: mention use of recurse to continue until quiescence
(→{{header|jq}}: simplify) |
m (→{{header|jq}}: mention use of recurse to continue until quiescence) |
||
Line 1,898:
=={{header|jq}}==
The main point of interest in the following is perhaps the way the built-in function "recurse" is used to continue the simulation until quiescence.
<lang jq># The 1-d cellular automaton:
def next:
|