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.

파일 보기 프로젝트 열기: zanew/MonovsDalvik 1 사용 예제들

공개 메소드들

메소드 설명
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