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