get(size_t, size_t)¶
-
bool
libsemigroups::BMat8
::
get
(size_t i, size_t j) const¶ Returns the entry in the (
i
,j
)th position.This member function returns the entry in the (
i
,j
)th position.- Return
A
bool
.- Exceptions
This function is
noexcept
and is guaranteed never to throw.- Complexity
Constant.
- Note
Note that since all matrices are internally represented as 8 x 8, it is possible to access entries that you might not believe exist.
- Warning
No checks on the parameters
i
andj
are performed, ifi
orj
is greater than 7, then bad things will happen.- Parameters
i
: the row of the entry sought.j
: the column of the entry sought.