public class IntWTables extends IntModMath
| Modifier and Type | Method and Description |
|---|---|
static int[] |
getInverseWTable(int modulus,
int length)
Get a table of inverses of powers of n:th root of unity.
|
static int[] |
getWTable(int modulus,
int length)
Get a table of powers of n:th root of unity.
|
createWTable, getForwardNthRoot, getInverseNthRoot, modDivide, modInverse, modPow, negategetModulus, modAdd, modMultiply, modSubtract, setModuluspublic static int[] getWTable(int modulus,
int length)
modulus - The index of the modulus to be used.length - The length of the table to be returned, i.e. n.public static int[] getInverseWTable(int modulus,
int length)
modulus - The index of the modulus to be used.length - The length of the table to be returned, i.e. n.Copyright © 2024. All rights reserved.