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

Specialization of the adapter One for instances of PBR.

See also
One.

Public Member Functions

PBR operator() (PBR const &x) const
 Returns the identity PBR with degree x.degree().
 
PBR operator() (size_t N=0) const
 Returns the identity PBR with specified degree.
 

Member Function Documentation

◆ 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
Nthe degree.
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: