expansion | xpn
¶Build a tuple of expansions, ie the $k$-tape expansion which is the Cartesian product of the input expansions.
See also:
References:
import vcsn
def xpn(e):
return vcsn.context('lan, q').expression(e).expansion()
x1 = xpn('abc')
x1
x2 = xpn('(<2>x)*')
x2
x1 | x2