Annotation Pro API
Public Member Functions | List of all members
Lomont1FFT Class Reference

Lomont1FFT, an implementation of the FFT algorithm using a lightweight complex number class. Real valued data is read into the FFT function in an array of alternating real and complex values, converted to complex numbers, passed through the FFT, and converted back. This is quite inefficient. More...

Inheritance diagram for Lomont1FFT:
LomontFFTBase

Public Member Functions

override void FFT (double[] data, bool forward)
 Compute the forward or inverse FFT of data, which is complex valued items, stored in alternating real and imaginary real numbers. The length must be a power of 2. More...
 
override void RealFFT (double[] data, bool forward)
 Perform a FFT on real data, returning half the (symmetric) complex transform as (real,imaginary) interleaved pairs More...
 
- Public Member Functions inherited from LomontFFTBase
virtual void Initialize (int size)
 For static initialization for a given size, call this More...
 

Detailed Description

Lomont1FFT, an implementation of the FFT algorithm using a lightweight complex number class. Real valued data is read into the FFT function in an array of alternating real and complex values, converted to complex numbers, passed through the FFT, and converted back. This is quite inefficient.

Member Function Documentation

◆ FFT()

override void FFT ( double []  data,
bool  forward 
)
inlinevirtual

Compute the forward or inverse FFT of data, which is complex valued items, stored in alternating real and imaginary real numbers. The length must be a power of 2.

Parameters
datainput/output
forwardforward/reverse

Implements LomontFFTBase.

◆ RealFFT()

override void RealFFT ( double []  data,
bool  forward 
)
inlinevirtual

Perform a FFT on real data, returning half the (symmetric) complex transform as (real,imaginary) interleaved pairs

Parameters
dataarray of values and output
forwardforward/reverse flag

Reimplemented from LomontFFTBase.


The documentation for this class was generated from the following file: