intt
polynomial · scripts/polynomial/intt.m
- :
x = intt (y, p) ¶
- :
x = intt (y, n, p) ¶
Inverse number-theoretic transform (INTT) of vector y modulo
prime p.
Applies the scaled inverse so that
intt (ntt (x, p), p) recovers mod (x, p) (coefficients
in 0 .. p-1). Calling conventions match ntt.