Kernel: Python 3
expression
.shuffle(exp)
The shuffle product of expressions.
See also:
Examples
In [1]:
Boolean Automata
The shuffle product computes the shuffling of languages: all the possible interleavings.
In [2]:
In [3]:
In [4]:
In [5]:
Weighted expressions
In the case of weighted expressions, weights are "kept" with the letters.
In [6]:
Associativity
The operator is associative: , i.e., both expressions denote the same series.
In [7]:
In [8]: