automaton
.context
The context (algebraic type) of an automaton.
See also:
automaton.info
automaton.type
Contexts
import vcsn a = vcsn.Q.expression('(<1/2>a*+<1/3>b*)*').automaton() a.context()
{a,b}→Q\{a, b\}\to\mathbb{Q}{a,b}→Q
a.transpose().context()