set¶
-
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.- Return
(None)
- Complexity
Constant.
- Parameters
i
: the rowj
: the columnval
: the value to set in position (i
,j
)th
- Exceptions
LibsemigroupsException
: ifi
orj
is out of bounds.