expression
.project(tape)
¶An expression that keeps only the selected tape of the original expression.
Preconditions:
tape
number is smaller than the number of tapes.import vcsn
ctx = vcsn.context("lat<lal_char(ab), lan_char(cd), lal_char(ef)>, q")
e = ctx.expression("(a*|<-1>c*|f)(a|\e|f) + (b|c|e)*")
e
e.project(0)
e.project(1)
e.project(2)