This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ListCorrelateAbsoluteOptions

CellularAutomaton

FilledSmallSquareCellularAutomaton[rnum, init, t] generates a list representing the evolution of cellular automaton rule rnum from initial condition init for t steps.

FilledSmallSquareCellularAutomaton[rnum, init, t, , , ... ] keeps only the parts of the evolution list with the specified offsets.

FilledSmallSquare Possible settings for rnum are:

FilledSmallSquareCellularAutomaton[n, k, ... ] is equivalent to CellularAutomaton[n, k, k^2, k, 1, ... ].

FilledSmallSquare Common forms for 2D cellular automata include:

FilledSmallSquare Normally, all elements in init and the evolution list are integers between 0 and .

FilledSmallSquare But when a general function is used, the elements of init and the evolution list do not have to be integers.

FilledSmallSquare The second argument passed to fun is the step number, starting at 0.

FilledSmallSquare Initial conditions are constructed from init as follows:

FilledSmallSquare The first element of aspec is superimposed on the background at the first position in the positive direction in each coordinate relative to the origin. This means that bspec[[1, 1, ... ]] is aligned with aspec[[1, 1, ... ]].

FilledSmallSquare Time offsets are specified as follows:

FilledSmallSquareCellularAutomaton[rnum, init, t] generates an evolution list of length .

FilledSmallSquare The initial condition is taken to have offset 0.

FilledSmallSquare Space offsets are specified as follows:

FilledSmallSquare In one dimension, the first element of aspec is taken by default to have space offset 0.

FilledSmallSquare In any number of dimensions, aspec[[1, 1, 1, ... ]] is taken by default to have space offset 0, 0, 0, ... .

FilledSmallSquare Each element of the evolution list produced by CellularAutomaton is always the same size.

FilledSmallSquare With an initial condition specified by an aspec of width , the region that can be affected after steps by a cellular automaton with a rule of range has width .

FilledSmallSquare If no bspec background is specified, space offsets of All and Automatic will include every cell in aspec.

FilledSmallSquare A space offset of All includes all cells that can be affected by the initial condition.

FilledSmallSquare A space offset of Automatic can be used to trim off background from the sides of a cellular automaton pattern.

FilledSmallSquare In working out how wide a region to keep, Automatic only looks at results on steps specified by .

FilledSmallSquare See also: ListConvolve, Partition, BitXor.

Further Examples

ListCorrelateAbsoluteOptions