Class PocketFFTUtil
Port of the pocketfft util subset used by 1-D planning (lines 373-431):
prime-factor test, cost model and the "good size" search for Bluestein padding.
public static class PocketFFTUtil
- Inheritance
-
PocketFFTUtil
- Inherited Members
Methods
CostGuess(long)
public static double CostGuess(long n)
Parameters
nlong
Returns
GoodSizeCmplx(long)
smallest composite of 2,3,5,7,11 which is >= n.
public static long GoodSizeCmplx(long n)
Parameters
nlong
Returns
GoodSizeReal(long)
smallest composite of 2,3,5 which is >= n.
public static long GoodSizeReal(long n)
Parameters
nlong
Returns
LargestPrimeFactor(long)
public static long LargestPrimeFactor(long n)
Parameters
nlong