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

Lomont2FFT, which unrolls the complex numbers by replacing each complex entry with two real entries, but using indices from the above code, resulting in many multiplies by two to access real components and a multiply by 2 and add one for imaginary components. This is slightly faster. More...

Inheritance diagram for Lomont2FFT:
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...
 
- Public Member Functions inherited from LomontFFTBase
virtual void Initialize (int size)
 For static initialization for a given size, call this More...
 
virtual 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

Lomont2FFT, which unrolls the complex numbers by replacing each complex entry with two real entries, but using indices from the above code, resulting in many multiplies by two to access real components and a multiply by 2 and add one for imaginary components. This is slightly faster.

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.


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