Defined in matrix.hpp.
This is a stateless struct with a single call operator of signature: bool operator()(bool x, bool y) const noexcept which returns x || y; representing addition in the boolean semiring.
|
| constexpr bool | operator() (bool x, bool y) const noexcept |
| | Call operator for addition.
|
| |
◆ operator()()
| bool operator() |
( |
bool | x, |
|
|
bool | y ) const |
|
inlineconstexprnoexcept |
This function returns the sum of its arguments in the boolean semiring.
- Parameters
-
| x | the first value. |
| y | the second value. |
- Returns
- The sum of
x and y in the boolean semiring.
- Exceptions
- This function is
noexcept and is guaranteed never to throw.
The documentation for this struct was generated from the following file:
- /Users/jdm3/libsemigroups/include/libsemigroups/matrix.hpp