one¶
-
static inline BMat8 libsemigroups::BMat8::one(size_t dim = 8) noexcept¶
Returns the identity BMat8.
This member function returns the BMat8 with the first
dim
entries in the main diagonal equal to1
and every other value equal to0
.- Exceptions
This function is
noexcept
and is guaranteed never to throw.- Complexity
Constant.
- Parameters
dim – the dimension of the identity (default: 8)
- Returns
A BMat8.