Re: CellularAutomaton[rule, init]
- To: mathgroup at smc.vnet.net
- Subject: [mg56605] Re: [mg56588] CellularAutomaton[rule, init]
- From: yehuda ben-shimol <bsyehuda at gmail.com>
- Date: Sat, 30 Apr 2005 01:27:14 -0400 (EDT)
- References: <200504290721.DAA10313@smc.vnet.net>
- Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
I wonder where did you get the second definition from. Look carefully in the help and the examples therein. CellularAutomaton[] needs at least 3 arguments: Rule number, initial condition and number of steps. Think of it as a "modified" NestList[]. yehuda On 4/29/05, John Kiehl <john.kiehl at soundtrackny.com> wrote: > The first two definitions of CellularAutomaton[ ] are as follows: > > "CellularAutomaton[rule, init, t] generates a list representing the evolution > of the cellular automaton with the specified rule from initial condition init > for t steps. > CellularAutomaton[rule, init] gives the result of evolving init for one step." > > This works: > > In[]= CellularAutomaton[110,{1},1] > > but this produces an error message saying that "three or four arguments are expected:" > > In[]= CellularAutomaton[110,{1}] > >
- References:
- CellularAutomaton[rule, init]
- From: John Kiehl <john.kiehl@soundtrackny.com>
- CellularAutomaton[rule, init]