template<prime P>
Z_mod struct

the field $\mathbb{Z}/p$ for prime integers $p$ . We do not check if P is a prime number.

Constructors, destructors, conversion operators

Z_mod(int n)
standard constructor

Public variables

int n
integer between -P and P