length_non_const

inline size_t libsemigroups::FroidurePin::length_non_const(element_index_type pos)

Returns the length of the element in position pos of the semigroup.

The parameter pos must be a valid position of an element of the semigroup, or a LibsemigroupsException will be thrown.