BMat8(std::vector<std::vector<bool>> const&)¶
-
explicit libsemigroups::BMat8::BMat8(std::vector<std::vector<bool>> const &mat)¶
A constructor.
This constructor initializes a matrix where the rows of the matrix are the vectors in
mat
.- Complexity
Constant.
- Parameters
mat – the vector of vectors representation of the matrix being constructed.
- Throws
LibsemigroupsException – if
mat
has 0 rows.LibsemigroupsException – if
mat
has more than 8 rows.LibsemigroupsException – if the rows of
mat
are not all of the same length.