factorisation(element_index_type)¶
-
word_type
libsemigroups::FroidurePin::factorisation(element_index_type pos)¶ Changes
wordin-place to contain a word in the generators equal to theposelement 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
posis greater than the size of the semigroup, then a LibsemigroupsException is thrown.