minimal_factorisation(element_index_type)¶
-
inline word_type libsemigroups::FroidurePinBase::minimal_factorisation(element_index_type pos)¶
Returns a minimal libsemigroups::word_type which evaluates to the TElementType in position
pos
ofthis
.This is the same as the two-argument member function for FroidurePin::minimal_factorisation, but it returns a pointer to the factorisation instead of modifying an argument in-place. If
pos
is greater than the size of the semigroup, then a LibsemigroupsException is thrown.