factorisation(element_index_type)ΒΆ
-
word_type
libsemigroups::FroidurePinBase
::
factorisation
(element_index_type pos) Changes
word
in-place to contain a word in the generators equal to thepos
element of the semigroup.The key difference between this member function and FroidurePin::minimal_factorisation(word_type& word, element_index_type pos), is that the resulting factorisation may not be minimal. If
pos
is greater than the size of the semigroup, then a LibsemigroupsException is thrown.