This page describes the class BMat8 that are an optimized representation of boolean matrices of dimension at most \(8\).
For boolean matrices of higher dimensions see BMat.
Namespaces | |
| namespace | libsemigroups::bmat8 |
| Namespace for BMat8 helper functions. | |
Classes | |
| class | BMat8 |
| Fast boolean matrices of dimension up to 8 x 8. More... | |
Functions | |
| constexpr BMat8 | operator* (bool scalar, BMat8 const &x) noexcept |
| Multiplication operator. | |
| std::ostream & | operator<< (std::ostream &os, BMat8 const &x) |
| Insertion operator. | |
| std::ostringstream & | operator<< (std::ostringstream &os, BMat8 const &x) |
| Insertion operator. | |
| std::string | to_human_readable_repr (BMat8 const &x, std::string const &braces="{}") |
| Returns a string representation. | |
This function allows BMat8 objects to be multiplied by scalars.
| scalar | a boolean scalar. |
| x | the matrix. |
| std::ostream & operator<< | ( | std::ostream & | os, |
| BMat8 const & | x ) |
This function allows BMat8 objects to be inserted into a std::ostream.
| std::ostringstream & operator<< | ( | std::ostringstream & | os, |
| BMat8 const & | x ) |
This function allows BMat8 objects to be inserted into an std::ostringstream.
| std::string to_human_readable_repr | ( | BMat8 const & | x, |
| std::string const & | braces = "{}" ) |
| x | the matrix. |
| braces | the type of braces to use in the returned string (default: "{}"). |
x.