position_to_sorted_position¶
-
element_index_type
libsemigroups::FroidurePin::position_to_sorted_position(element_index_type) override¶ Returns the position of
this->at(pos)in the sorted array of elements of the semigroup, or libsemigroups::UNDEFINED ifposis greater than the size of the semigroup.