C# Класс 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.

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
bitreverse ( double data ) : void
log2 ( int n ) : int
transform_internal ( double data, int direction ) : void

Описание методов

bitreverse() защищенный статический Метод

protected static bitreverse ( double data ) : void
data double
Результат void

inverse() публичный статический Метод

Compute Inverse Fast Fourier Transform of (complex) data, in place.
public static inverse ( double data ) : void
data double
Результат void

log2() защищенный статический Метод

protected static log2 ( int n ) : int
n int
Результат int

makeRandom() публичный статический Метод

Make a random array of n (complex) elements.
public static makeRandom ( int n ) : double[]
n int
Результат double[]

num_flops() публичный статический Метод

public static num_flops ( int N ) : double
N int
Результат double

test() публичный статический Метод

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
Результат double

transform() публичный статический Метод

Compute Fast Fourier Transform of (complex) data, in place.
public static transform ( double data ) : void
data double
Результат void

transform_internal() защищенный статический Метод

protected static transform_internal ( double data, int direction ) : void
data double
direction int
Результат void