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

Lomont4FFT, which pre-computes the sine and cosine values needed and uses them across multiple runs. This is useful when one does many FFTs of the same size in an application, which is quite common. This is often the fastest method for doing many applications of the same size FFT. More...

Inheritance diagram for Lomont4FFT:
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 Initialize (int size)
 Call this with the size before using the FFT Fills in tables for speed 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...
 

Detailed Description

Lomont4FFT, which pre-computes the sine and cosine values needed and uses them across multiple runs. This is useful when one does many FFTs of the same size in an application, which is quite common. This is often the fastest method for doing many applications of the same size FFT.

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
data
forward

Implements LomontFFTBase.

◆ Initialize()

override void Initialize ( int  size)
inlinevirtual

Call this with the size before using the FFT Fills in tables for speed

Parameters
size

Reimplemented from 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
data
forward

Reimplemented from LomontFFTBase.


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