public class FloatTableFNT extends FloatModMath
All access to this class must be externally synchronized.
| Constructor and Description |
|---|
FloatTableFNT()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
inverseTableFNT(ArrayAccess arrayAccess,
float[] wTable,
int[] permutationTable)
Inverse (Cooley-Tukey) fast Number Theoretic Transform.
|
void |
tableFNT(ArrayAccess arrayAccess,
float[] wTable,
int[] permutationTable)
Forward (Sande-Tukey) fast Number Theoretic Transform.
|
createWTable, getForwardNthRoot, getInverseNthRoot, modDivide, modInverse, modPow, negategetModulus, modAdd, modMultiply, modSubtract, setModuluspublic void tableFNT(ArrayAccess arrayAccess, float[] wTable, int[] permutationTable) throws ApfloatRuntimeException
arrayAccess - The data array to transform.wTable - Table of powers of n:th root of unity w modulo the current modulus.permutationTable - Table of permutation indexes, or null if the data should not be permuted.ApfloatRuntimeExceptionpublic void inverseTableFNT(ArrayAccess arrayAccess, float[] wTable, int[] permutationTable) throws ApfloatRuntimeException
arrayAccess - The data array to transform.wTable - Table of powers of n:th root of unity w modulo the current modulus.permutationTable - Table of permutation indexes, or null if the data should not be permuted.ApfloatRuntimeExceptionCopyright © 2024. All rights reserved.