MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: CellularAutomaton[rule, init]


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}]
> 
>


  • Prev by Date: Re: Can't Get a numric answer for this
  • Next by Date: Re: CellularAutomaton[rule, init]
  • Previous by thread: CellularAutomaton[rule, init]
  • Next by thread: Re: CellularAutomaton[rule, init]