position_to_sorted_position

element_index_type libsemigroups::FroidurePinBase::position_to_sorted_position(element_index_type) = 0

Returns the position of this->at(pos) in the sorted array of elements of the semigroup, or libsemigroups::UNDEFINED if pos is greater than the size of the semigroup.