factorisation(element_index_type)ΒΆ

virtual word_type libsemigroups::FroidurePinBase::factorisation(element_index_type pos) = 0

Returns a libsemigroups::word_type which evaluates to the TElementType in position pos of this.

The key difference between this member function and FroidurePin::minimal_factorisation(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.