C# Class Scimark_Csharp_Android.FFT

Computes FFT's of complex, double precision data where n is an integer power of 2. This appears to be slower than the Radix2 method, but the code is smaller and simpler, and it requires no extra storage.

Afficher le fichier Open project: zanew/MonovsDalvik Class Usage Examples

Méthodes publiques

Méthode Description
inverse ( double data ) : void

Compute Inverse Fast Fourier Transform of (complex) data, in place.

makeRandom ( int n ) : double[]

Make a random array of n (complex) elements.

num_flops ( int N ) : double
test ( double data ) : double

Accuracy check on FFT of data. Make a copy of data, Compute the FFT, then the inverse and compare to the original. Returns the rms difference.

transform ( double data ) : void

Compute Fast Fourier Transform of (complex) data, in place.

Méthodes protégées

Méthode Description
bitreverse ( double data ) : void
log2 ( int n ) : int
transform_internal ( double data, int direction ) : void

Method Details

bitreverse() protected static méthode

protected static bitreverse ( double data ) : void
data double
Résultat void

inverse() public static méthode

Compute Inverse Fast Fourier Transform of (complex) data, in place.
public static inverse ( double data ) : void
data double
Résultat void

log2() protected static méthode

protected static log2 ( int n ) : int
n int
Résultat int

makeRandom() public static méthode

Make a random array of n (complex) elements.
public static makeRandom ( int n ) : double[]
n int
Résultat double[]

num_flops() public static méthode

public static num_flops ( int N ) : double
N int
Résultat double

test() public static méthode

Accuracy check on FFT of data. Make a copy of data, Compute the FFT, then the inverse and compare to the original. Returns the rms difference.
public static test ( double data ) : double
data double
Résultat double

transform() public static méthode

Compute Fast Fourier Transform of (complex) data, in place.
public static transform ( double data ) : void
data double
Résultat void

transform_internal() protected static méthode

protected static transform_internal ( double data, int direction ) : void
data double
direction int
Résultat void