Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
CAGenetics
Guides
Main Guide
Symbols
AncestorGraphEvolution
AncestorGraph
AncestorsEvolution
CACanonicalTree
CAEquationTree
CAEvolutionTree
CAGeneticTree
CAMonotoneQTree
CanonicalGenes
CanonicalRule
CANormalTree
CAPlot
CASymmetryIndexTree
CoeffToOutput
ComputeEntropy
ComputeWolframClass
DeNormalizePosition
DigitOrder
EquivalentClass
ExtendGene
FindMinimumRange
FromGenes
FromNormalSpace
FullAsymmetricRuleQ
GeneCompress
GeneEquation
GeneExpand
GeneFromNormalSpace
GenePrepend
GeneRule
GeneSet
GeneSets
GeneSplice
GeneThread
GeneToNormalSpace
GeneToPrimal
GeneVariables
GetWolframClass
IdentityRule
InverseRule
MAERule
MakeGeneSymmetric
ModulusKDCoeff
ModulusKDFunction
ModulusPCoeff
ModulusPCore
ModulusPFunctionFromCoeff
ModulusPFunction
ModulusPMatrix
MonotoneQ
NegateRule
NormalizePosition
NormalSignatureDiagonal
NormalSpaceCenter
NormalSpaceDotToReferenceVector
NormalSpaceProjectionToMain
NormalSpaceReference
NormalSpaceReferenceVector
NormalSpaceVectorFromPoints
NormalSpaceVectorOrthogonalToMain
OffsetGeneSet
OutputToCoeff
PermutationForSymmetry
PermutationsForReflection
PermutationsFromNormalSpace
PermutationsGeneToPrimal
PermutationsPrimalToGene
PermutationsToNormalSpace
PositionToPrimal
PrimalToGene
PrimalToPosition
PrintableEquation
ProbRule
RandomAsymmetricGene
RandomAsymmetricRule
RandomGene
RandomRule
RandomSemiAsymmetricRule
RandomSymmetricGene
RandomSymmetricRule
ReflectDigitOrder
ReflectGene
ReflectNormalRule
ReflectRule
The CAGenetics Paclet is comprised of many functions that help in the exploration of one-dimensional cellular automata using a unified model.
Gene Manipulation
R
u
l
e
G
e
n
e
s
— breaks a rule into genes
F
r
o
m
G
e
n
e
s
— takes a list of genes and returns a rule
G
e
n
e
S
p
l
i
c
e
▪
R
u
l
e
S
p
l
i
c
e
▪
C
a
n
o
n
i
c
a
l
G
e
n
e
s
Gene Sets (Not yet suitable for k>2)
G
e
n
e
S
e
t
— returns the gene set
O
f
f
s
e
t
G
e
n
e
S
e
t
— returns the offset gene set
E
x
t
e
n
d
G
e
n
e
▪
G
e
n
e
S
e
t
s
▪
Genealogy Trees and Ancestor Graphs
C
A
G
e
n
e
t
i
c
T
r
e
e
— returns the genetic tree for a rule
C
A
E
q
u
a
t
i
o
n
T
r
e
e
— returns the equation tree for a rule
C
A
E
v
o
l
u
t
i
o
n
T
r
e
e
— returns the evolution tree for a rule
C
A
C
a
n
o
n
i
c
a
l
T
r
e
e
▪
C
A
N
o
r
m
a
l
T
r
e
e
▪
C
A
M
o
n
o
t
o
n
e
Q
T
r
e
e
▪
SymmetryIndexTree
▪
A
n
c
e
s
t
o
r
G
r
a
p
h
▪
A
n
c
e
s
t
o
r
G
r
a
p
h
E
v
o
l
u
t
i
o
n
▪
A
n
c
e
s
t
o
r
s
E
v
o
l
u
t
i
o
n
Transformation to Normal Space
T
o
N
o
r
m
a
l
S
p
a
c
e
— transforms a rule into normal space
G
e
n
e
T
o
P
r
i
m
a
l
▪
N
o
r
m
a
l
i
z
e
P
o
s
i
t
i
o
n
▪
P
r
i
m
a
l
T
o
P
o
s
i
t
i
o
n
▪
P
e
r
m
u
t
a
t
i
o
n
s
G
e
n
e
T
o
P
r
i
m
a
l
▪
P
e
r
m
u
t
a
t
i
o
n
s
T
o
N
o
r
m
a
l
S
p
a
c
e
Transformation from Normal Space
F
r
o
m
N
o
r
m
a
l
S
p
a
c
e
— transforms a normal rule to regular space
P
r
i
m
a
l
T
o
G
e
n
e
▪
D
e
N
o
r
m
a
l
i
z
e
P
o
s
i
t
i
o
n
▪
P
o
s
i
t
i
o
n
T
o
P
r
i
m
a
l
▪
P
e
r
m
u
t
a
t
i
o
n
s
P
r
i
m
a
l
T
o
G
e
n
e
▪
P
e
r
m
u
t
a
t
i
o
n
s
F
r
o
m
N
o
r
m
a
l
S
p
a
c
e
Random Rules and Genes
R
a
n
d
o
m
R
u
l
e
— returns a random rule in a given rule space
R
a
n
d
o
m
S
y
m
m
e
t
r
i
c
R
u
l
e
— returns a random symmetric rule in a given rule space
R
a
n
d
o
m
A
s
y
m
m
e
t
r
i
c
R
u
l
e
— returns a random asymmetric rule in a given rule space
R
a
n
d
o
m
S
e
m
i
A
s
y
m
m
e
t
r
i
c
R
u
l
e
— returns a random semi asymmetric rule in a given rule space
M
a
k
e
G
e
n
e
S
y
m
m
e
t
r
i
c
▪
R
a
n
d
o
m
G
e
n
e
▪
R
a
n
d
o
m
S
y
m
m
e
t
r
i
c
G
e
n
e
▪
R
a
n
d
o
m
A
s
y
m
m
e
t
r
i
c
G
e
n
e
Special Rules
I
d
e
n
t
i
t
y
R
u
l
e
— returns the identity rule in a given rule space
I
n
v
e
r
s
e
R
u
l
e
— returns the inverse rule in a given rule space
N
e
g
a
t
e
R
u
l
e
— returns the negated rule in a given rule space
R
e
v
e
r
s
e
R
u
l
e
— returns the reverse rule in a given rule space
R
e
f
l
e
c
t
R
u
l
e
— returns the reflected rule in a given rule space
C
a
n
o
n
i
c
a
l
R
u
l
e
— returns the canonical rule in a given rule space
M
A
E
R
u
l
e
— returns the Modulo-Additive Equivalent rule in a given rule space
R
e
f
l
e
c
t
D
i
g
i
t
O
r
d
e
r
▪
P
e
r
m
u
t
a
t
i
o
n
s
F
o
r
R
e
f
l
e
c
t
i
o
n
▪
R
e
f
l
e
c
t
G
e
n
e
▪
G
e
n
e
R
u
l
e
▪
F
i
n
d
M
i
n
i
m
u
m
R
a
n
g
e
Rule Sets
E
q
u
i
v
a
l
e
n
t
C
l
a
s
s
— returns the equivalent class for a given rule in a rule space
N
o
r
m
a
l
S
i
g
n
a
t
u
r
e
D
i
a
g
o
n
a
l
— returns the normal rules in the diagonal of the normal space
S
i
g
n
a
t
u
r
e
D
i
a
g
o
n
a
l
— returns the rules in the diagonal of the normal space
Functions in Normal Space
R
e
f
l
e
c
t
N
o
r
m
a
l
R
u
l
e
— returns the reflected normal rule
N
o
r
m
a
l
S
p
a
c
e
C
e
n
t
e
r
— returns the normal space center
N
o
r
m
a
l
S
p
a
c
e
R
e
f
e
r
e
n
c
e
— returns the normal space reference
N
o
r
m
a
l
S
p
a
c
e
V
e
c
t
o
r
F
r
o
m
P
o
i
n
t
s
▪
N
o
r
m
a
l
S
p
a
c
e
R
e
f
e
r
e
n
c
e
V
e
c
t
o
r
▪
N
o
r
m
a
l
S
p
a
c
e
P
r
o
j
e
c
t
i
o
n
T
o
M
a
i
n
▪
N
o
r
m
a
l
S
p
a
c
e
V
e
c
t
o
r
O
r
t
h
o
g
o
n
a
l
T
o
M
a
i
n
▪
N
o
r
m
a
l
S
p
a
c
e
D
o
t
T
o
R
e
f
e
r
e
n
c
e
V
e
c
t
o
r
Test Functions
S
e
l
f
R
e
f
l
e
c
t
R
u
l
e
Q
— checks if the rule is self-reflective
R
e
v
e
r
s
i
b
l
e
Q
— checks if the rule is reversible
M
o
n
o
t
o
n
e
Q
— checks if the function output is monotone
S
e
m
i
A
s
y
m
m
e
t
r
i
c
R
u
l
e
Q
— checks is the rule is semi asymmetric
S
e
l
f
R
e
f
l
e
c
t
G
e
n
e
Q
▪
P
e
r
m
u
t
a
t
i
o
n
F
o
r
S
y
m
m
e
t
r
y
▪
S
y
m
m
e
t
r
i
c
G
e
n
e
Q
▪
S
y
m
m
e
t
r
i
c
R
u
l
e
Q
▪
F
u
l
l
A
s
y
m
m
e
t
r
i
c
R
u
l
e
Q
Measures
R
u
l
e
D
i
f
f
e
r
e
n
c
e
— computes the difference between two rules
R
u
l
e
L
a
m
b
d
a
— computes the Langton's Lambda parameter of a rule
R
u
l
e
D
e
l
t
a
— computes the Delta parameter of a rule
S
y
m
m
e
t
r
y
I
n
d
e
x
— computes the symmetry index of a rule
Equations
R
u
l
e
E
q
u
a
t
i
o
n
— returns the polynomial of a rule
G
e
n
e
E
q
u
a
t
i
o
n
— returns the polynomial of a gene
C
o
e
f
f
T
o
O
u
t
p
u
t
— computes the output of a function based on the polynomial coefficients
O
u
t
p
u
t
T
o
C
o
e
f
f
— computes the polynomial coefficients based on the output of a function
P
r
o
b
R
u
l
e
— creates a probabilistic cellular automata rule
R
u
l
e
V
a
r
i
a
b
l
e
s
▪
G
e
n
e
V
a
r
i
a
b
l
e
s
▪
M
o
d
u
l
u
s
P
C
o
r
e
▪
M
o
d
u
l
u
s
P
M
a
t
r
i
x
▪
M
o
d
u
l
u
s
P
C
o
e
f
f
▪
M
o
d
u
l
u
s
P
F
u
n
c
t
i
o
n
▪
M
o
d
u
l
u
s
P
F
u
n
c
t
i
o
n
F
r
o
m
C
o
e
f
f
▪
M
o
d
u
l
u
s
K
D
C
o
e
f
f
▪
M
o
d
u
l
u
s
K
D
F
u
n
c
t
i
o
n
▪
P
r
i
n
t
a
b
l
e
E
q
u
a
t
i
o
n
Miscellaneous
R
S
e
e
d
— random initial conditions
C
o
m
p
u
t
e
W
o
l
f
r
a
m
C
l
a
s
s
— estimates the Wolfram class for a rule evolution
G
e
t
W
o
l
f
r
a
m
C
l
a
s
s
— gets the Wolfram class of a rule in the ECA
C
o
m
p
u
t
e
E
n
t
r
o
p
y
— computes the entropy of a rule
C
A
P
l
o
t
— plots a cellular automata rule
R
u
l
e
E
x
p
a
n
d
▪
R
u
l
e
C
o
m
p
r
e
s
s
▪
G
e
n
e
E
x
p
a
n
d
▪
G
e
n
e
C
o
m
p
r
e
s
s