char_to_uintΒΆ
-
letter_type
libsemigroups::FpSemigroupInterface
::
char_to_uint
(char a) const Convert a char to a libsemigroups::letter_type representing the same generator of the finitely presented semigroup represented by
this
.- Return
- Complexity.
Constant.
- Parameters
a
: the string to convert.
- Exceptions
LibsemigroupsException
: ifa
is not in alphabet().