validate_word(word_type const&) const¶
-
inline void libsemigroups::FpSemigroup::validate_word(word_type const &w) const¶
Validates a word.
- Complexity
Linear in the length of
w
.- Parameters
(None)
- Parameters
w – the word to validate.
- Throws
LibsemigroupsException – if any index in
w
is out of range.- Returns
(None)