Specialization of the adapter One for instances of PBR.
- See also
- One.
◆ operator()() [1/2]
PBR operator() |
( |
PBR const & | x | ) |
const |
|
inline |
This member function returns a new PBR with degree equal to the degree of x
, where every value is adjacent to its negative. Equivalently, \(i\) is adjacent \(i + n\) and vice versa for every \(i\) less than the degree \(n\).
- Returns
- A PBR.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- See also
- one
◆ operator()() [2/2]
PBR operator() |
( |
size_t | N = 0 | ) |
const |
|
inline |
This function returns a new PBR with degree equal to N
where every value is adjacent to its negative. Equivalently, \(i\) is adjacent \(i + N\) and vice versa for every \(i\) less than the degree \(N\).
- Parameters
-
- Returns
- A PBR.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- See also
- one
The documentation for this struct was generated from the following file:
- /Users/jdm/libsemigroups/include/libsemigroups/pbr.hpp