libsemigroups  v3.0.0
C++ library for semigroups and monoids
Loading...
Searching...
No Matches
BooleanProd

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 multiplication in the boolean semiring.

Public Member Functions

constexpr bool operator() (bool x, bool y) const noexcept
 Call operator for multiplication.
 

Member Function Documentation

◆ operator()()

bool operator() ( bool x,
bool y ) const
inlineconstexprnoexcept

This function returns the product of its arguments in the boolean semiring.

Parameters
xthe first value.
ythe second value.
Returns
The product 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: