public class DoubleWTables extends DoubleModMath
Modifier and Type | Method and Description |
---|---|
static double[] |
getInverseWTable(int modulus,
int length)
Get a table of inverses of powers of n:th root of unity.
|
static double[] |
getWTable(int modulus,
int length)
Get a table of powers of n:th root of unity.
|
createWTable, getForwardNthRoot, getInverseNthRoot, modDivide, modInverse, modPow, negate
getModulus, modAdd, modMultiply, modSubtract, setModulus
public static double[] 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 double[] 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 © 2018. All rights reserved.