The residue class \(\{k \mid k \equiv r \pmod m\}\) as a predicate on the counts, periodic with period m: the quotient onto Modular<m>'s carrier, then the test for r.
More...
|
|
using | Domain = N |
|
using | Codomain = bool |
|
| constexpr bool | operator() (N k) const |
|
constexpr bool | operator== (const Congruent &) const =default |
|
|
N | modulus {1} |
|
N | residue {0} |
template<IsCountWord N = std::size_t>
struct dedekind::category::Congruent< N >
The residue class \(\{k \mid k \equiv r \pmod m\}\) as a predicate on the counts, periodic with period m: the quotient onto Modular<m>'s carrier, then the test for r.
- Template Parameters
-
◆ operator()()
template<IsCountWord N = std::size_t>
- Parameters
-
- Returns
- whether
k is congruent to the residue.
The documentation for this struct was generated from the following file: