at

const_reference_point_type libsemigroups::Action::at(size_t pos) const

Returns position pos in the currently enumerated points.

Return

An Action::const_reference_point_type to the point in position pos of the currently enumerated points in the action.

Complexity

Constant.

Parameters
  • pos: the index of an element.

Exceptions