Packageorg.si.utils
Classpublic class FFT_original
InheritanceFFT_original Inheritance Object

Fast Fourier Transform module



Public Methods
 MethodDefined By
  
FFT_original(length:int)
constructor, specify calculating data length first.
FFT_original
  
cdft(isgn:int, src:Vector.<Number>):void
Complex Discrete Fourier Tranform
FFT_original
  
ddct(isgn:int, src:Vector.<Number>):void
Discrete Cosine Tranform
FFT_original
  
ddst(isgn:int, src:Vector.<Number>):void
Discrete Sine Tranform
FFT_original
  
rdft(isgn:int, src:Vector.<Number>):void
Real Discrete Fourier Tranform
FFT_original
Constructor Detail
FFT_original()Constructor
public function FFT_original(length:int)

constructor, specify calculating data length first.

Parameters
length:int
Method Detail
cdft()method
public function cdft(isgn:int, src:Vector.<Number>):void

Complex Discrete Fourier Tranform

Parameters

isgn:int — 1 for FFT, -1 for IFFT.
 
src:Vector.<Number> — data to transform. The length must be same as you passed to constructor.

ddct()method 
public function ddct(isgn:int, src:Vector.<Number>):void

Discrete Cosine Tranform

Parameters

isgn:int — [ATTENTION] -1 for DCT, 1 for IDCT. Opposite from FFT.
 
src:Vector.<Number> — data to transform. The length must be same as you passed to constructor.

ddst()method 
public function ddst(isgn:int, src:Vector.<Number>):void

Discrete Sine Tranform

Parameters

isgn:int — [ATTENTION] -1 for DST, 1 for IDST. Opposite from FFT.
 
src:Vector.<Number> — data to transform. The length must be same as you passed to constructor.

rdft()method 
public function rdft(isgn:int, src:Vector.<Number>):void

Real Discrete Fourier Tranform

Parameters

isgn:int — 1 for FFT, -1 for IFFT.
 
src:Vector.<Number> — data to transform. The length must be same as you passed to constructor.