Wolfram 语言

新的可视化领域

显示计算系统的规则

绘制基本元胞自动机 rule 30 的规则.

In[1]:=
Click for copyable input
RulePlot[CellularAutomaton[30]]
Out[1]=

显示 3-色总和规则 (totalistic rule) 的规则,代码为 867.

In[2]:=
Click for copyable input
RulePlot[CellularAutomaton[{867, {3, 1}}]]
Out[2]=

显示六边形、半径小于 1 的元胞自动机的规则.

In[3]:=
Click for copyable input
RulePlot[CellularAutomaton[{9, 2, 1/2}], Appearance -> "Hexagons"]
Out[3]=

显示 2-态、2-色图灵机 2506 的规则.

In[4]:=
Click for copyable input
RulePlot[TuringMachine[2506]]
Out[4]=

绘制三个字母替代系统的规则.

In[5]:=
Click for copyable input
RulePlot[SubstitutionSystem[{"A" -> "ABC", "BC" -> "A", "C" -> "CAB"}]]
Out[5]=

显示五个变量的第 30 个布尔函数的规则,黑色表示真,白色表示假.

In[6]:=
Click for copyable input
RulePlot[BooleanFunction[30, 5]]
Out[6]=

相关范例

de en es fr ja ko pt-br ru