public class FloatWTables extends FloatModMath
Modifier and Type | Method and Description |
---|---|
static float[] |
getInverseWTable(int modulus,
int length)
Get a table of inverses of powers of n:th root of unity.
|
static float[] |
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 float[] 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 float[] 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 © 2017. All rights reserved.