class Ntt extends Object
| Modifier and Type | Field and Description |
|---|---|
static short[] | nttZetasNtt zetas. |
static short[] | nttZetasInvNtt zetas inv. |
| Constructor and Description |
|---|
Ntt()Default constructor. |
| Modifier and Type | Method and Description |
|---|---|
static void | baseMult(Poly outPoly,
int outIndex,
short a0,
short a1,
short b0,
short b1,
short zeta)base mult. |
static short | factorQMulMont(short a,
short b)factor q mul mont. |
static short[] | invNtt(short[] inp)inv ntt. |
static short[] | ntt(short[] inp)ntt. |
public static final short[] nttZetas
public static final short[] nttZetasInv
public static void baseMult(Poly outPoly, int outIndex, short a0, short a1, short b0, short b1, short zeta)
public static short factorQMulMont(short a,
short b)public static short[] invNtt(short[] inp)
public static short[] ntt(short[] inp)