length_const¶
-
size_t
libsemigroups::FroidurePinBase
::
length_const
(element_index_type pos) const¶ Returns the length of the element in position
pos
of the semigroup.The parameter
pos
must be a valid position of an already enumerated element of the semigroup, or a LibsemigroupsException will be thrown. This member function causes no enumeration of the semigroup.