|  | 
|  | Z () | 
|  | Default value 0.  More... 
 | 
|  | 
|  | Z (bool x) | 
|  | Initialize from 0,1.  More... 
 | 
|  | 
|  | Z (int x) | 
|  | Initialize from int.  More... 
 | 
|  | 
|  | Z (int64_t x) | 
|  | Initialize from 64bit int.  More... 
 | 
|  | 
|  | operator char () const | 
|  | 
|  | operator short () const | 
|  | 
|  | operator int () const | 
|  | 
|  | operator int64_t () const | 
|  | 
|  | operator unsigned char () const | 
|  | 
|  | operator unsigned short () const | 
|  | 
|  | operator unsigned int () const | 
|  | 
|  | operator uint64_t () const | 
|  | 
| Z< N, T > | operator+ (Z< N, T > b) const | 
|  | 
| Z< N, T > | operator- (Z< N, T > b) const | 
|  | 
| Z< N, T > & | operator+= (Z< N, T > b) | 
|  | 
| Z< N, T > & | operator-= (Z< N, T > b) | 
|  | 
| Z< N, T > & | operator*= (Z< N, T > b) | 
|  | 
| Z< N, T > & | operator/= (Z< N, T > b) | 
|  | 
| bool | operator== (Z< N, T > a) const | 
|  | 
| bool | operator!= (Z< N, T > a) const | 
|  | 
| bool | operator<= (Z< N, T > a) const | 
|  | Needed for Eigen pruning; standard order on 0,...,N-1.  More... 
 | 
|  | 
template<int64_t N, typename T = int64_t>
class Mackey::Z< N, T >
The class of Z/N coefficients where N is prime. 
The operators are self explanatory. User must ensure that N is prime for division to work.