label
.rdivide(l)
¶The right-quotient of label
by l
, i.e., the removal of a suffix. Written label / l
, or sometimes $(\mathit{label})\ell^{-1}$.
See also:
import sys
import vcsn
label = vcsn.context('law_char, q').label
label('abcd').rdivide(label(''))
label('abcd').rdivide(label('d'))
label('abcd').ldivide(label('abcd'))
try:
label('d').rdivide(label('abcd'))
except Exception as e:
print(e, file=sys.stderr)
label('abcd') / label('')