contains

bool libsemigroups::SchreierSims::contains(const_element_reference x)

Returns true if x belongs to the group.

Return

A bool.

Note

Returns false if the degree of x is not equal to the first template parameter N.

Parameters
  • x: a const reference to a group element.