Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
CFFT< T > Class Template Reference

One-dimensional complex fast Fourier transform. More...

#include <FFT.h>

List of all members.

Public Member Functions

 CFFT (int size=0)
int size () const
 Get size of transform.
void forward (T *buf, bool normalize=true)
 Perform forward transform in-place.
void inverse (T *buf)
 Perform inverse transform in-place.
void resize (int n)
 Set size of transform.

Detailed Description

template<class T>
class gam::CFFT< T >

One-dimensional complex fast Fourier transform.

The complex sequence format for forward and inverse transforms is [r0, i0, r1, i1, ... , r(n-1), i(n-1)]


Constructor & Destructor Documentation

CFFT ( int  size = 0)
Parameters:
[in]sizesize of complex input sequence; most efficient when a product of small primes

Member Function Documentation

void forward ( T *  buf,
bool  normalize = true 
)

Perform forward transform in-place.

Parameters:
[in,out]bufinput/output buffer
[in]normalizewhether to scale magnitudes by 1/N

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