Search NKS | Online
71 - 80 of 234 for Take
The underlying rule for the cellular automaton shown takes the new color of a cell to be the color of its right neighbor if the cell is black and its left neighbor if the cell is white.
Such systems in general take a string of elements and at each step replace blocks of these elements with other elements according to some definite rule.
One takes base 3 representation, then converts each digit to a pair of base 2 digits, handling the beginning and end of the sequence in a special way.
… Apply[Take, RealDigits[(N[#, N[Log[10, #] + 3]] &)[ n √ 5 /GoldenRatio 2 + 1/2], GoldenRatio]]
The representations of all the first Fibonacci[n] - 1 numbers can be obtained from (the version in the main text has Rest[RotateLeft[Join[#, {0, 1}]]] & applied)
Apply[Join, Map[Last, NestList[{# 〚 2 〛 ], Join[Map[Join[{1, 0}, Rest[#]] & , # 〚 2 〛 ], Map[Join[{1, 0}, #] &, # 〚 1 〛 ]]} &, {{}, {{1}}}, n-3]]]
Long halting times [in symbolic systems]
Symbolic systems with rules of the form ℯ [x_][y_] Nest[x, y, r] always evolve to fixed points—though with initial conditions of size n this can take of order Nest[r # &, 0, n] steps (see above ).
Continuous Cellular Automata
Despite all their differences, the various kinds of programs discussed in the previous chapter have one thing in common: they are all based on elements that can take on only a discrete set of possible forms, typically just colors black and white.
So what does it take to get patterns with more complicated structure?
In this chapter my purpose is now to take what we have learned and begin applying it to the study of actual phenomena in nature.
Instead, what they essentially do is just to take random input that comes from outside, and transfer it to whatever system one is looking at.
And so long as the boundaries of the regions do not get stuck—as happens in many one-dimensional cellular automata—the result is that whichever color was initially more common eventually takes over the whole system.
Yet these paths can still be the shortest—or so-called geodesics—if one takes space to be curved.