inverses

std::string const &libsemigroups::FpSemigroup::inverses() const

Returns the inverses of this, or throws an exception if there aren’t any.

Complexity

Constant.

Parameters

(None)

See

set_inverses() for the meaning of the return value of this function.

Throws

LibsemigroupsException – if no identity has been defined.

Returns

A const reference to the inverses, a value of type std::string.