WLJS LogoWLJS Notebook

TuringMachine

TuringMachine[rule, init, t] generates a list representing the evolution of the Turing machine with the specified rule from initial condition init for t steps.

  • TuringMachine[rule, init] gives the result of evolving init for one step.
  • TuringMachine[rule] is an operator form of TuringMachine that corresponds to one step of evolution.

Examples

ArrayPlot[TuringMachine[2506, {{1}, 0}, 50]]
TuringMachine[2506, {{1, 0, 1}, 1}]

Please visit the official Wolfram Language Reference for more details.

On this page