set_inversesΒΆ

void libsemigroups::FpSemigroupInterface::set_inverses(std::string const &a)

Set the inverses of letters in alphabet().

The letter in a with index i is the inverse of the letter in alphabet() with index i.

Return

(None)

Complexity

\(O(n)\) where \(n\) is alphabet().size().

See

set_identity(std::string const&).

Parameters
Exceptions