Table of Contents

Class PocketFFTUtil

Namespace
NumSharp.Fourier
Assembly
NumSharp.dll

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

n long

Returns

double

GoodSizeCmplx(long)

smallest composite of 2,3,5,7,11 which is >= n.

public static long GoodSizeCmplx(long n)

Parameters

n long

Returns

long

GoodSizeReal(long)

smallest composite of 2,3,5 which is >= n.

public static long GoodSizeReal(long n)

Parameters

n long

Returns

long

LargestPrimeFactor(long)

public static long LargestPrimeFactor(long n)

Parameters

n long

Returns

long