Initialization¶
-
void libsemigroups::BMat8::set(size_t i, size_t j, bool val)¶
Sets the (
i
,j
)th position toval
.This member function sets the (
i
,j
)th entry ofthis
toval
. Uses the bit twiddle for setting bits found here.- Complexity
Constant.
- Parameters
i – the row
j – the column
val – the value to set in position (
i
,j
)th
- Throws
LibsemigroupsException – if
i
orj
is out of bounds.- Returns
(None)