I work with arbitrary finite field GF(q)
, for q
power of prime. I've been looking around for some function, which would force, that any element is printed as a positive natural number. i.e. in GF(5)
, -2
is printed as 3
etc. Is that possible in an easy way? I need to achieve that for arbitraty q
. I've been thinking about writing some own function, but it seems intractable for me at the moment.