Functions

FFTW (Complex) Array Objects

Functions

NTTW_DLL_SYM fftw_complex * fftw_array (const size_t size)
 Forms a FFTW complex array of size.
NTTW_DLL_SYM void fftw_init_1D (fftw_complex *data, const size_t size, const nttw_real value)
 Initializes FFTW array (real and imaginary parts) to value.
NTTW_DLL_SYM void array_to_fftw_array (nttw_integer *source, fftw_complex *dest, const int size)
 Copies the array to the real FFTW array components.
NTTW_DLL_SYM void arraySigned_to_fftw_array (long *source, fftw_complex *dest, const int size)
 Copies the signed array to the real FFTW array components.
NTTW_DLL_SYM void fftw_array_to_array (fftw_complex *source, nttw_integer *dest, const int size)
 Copies the real FFTW array components to array.
NTTW_DLL_SYM void fftw_array_to_arraySigned (fftw_complex *source, long *dest, const int size)
 Copies the real FFTW array components to signed array.

Function Documentation

array_to_fftw_array ( nttw_integer *  source,
fftw_complex *  dest,
const int  size 
)

Copies the array to the real FFTW array components.

IMPORTANT: Only the Real part of the FFTW is copied!

Definition at line 49 of file array_complex.c.

arraySigned_to_fftw_array ( long *  source,
fftw_complex *  dest,
const int  size 
)

Copies the signed array to the real FFTW array components.

IMPORTANT: Only the Real part of the FFTW is copied!

Definition at line 57 of file array_complex.c.

fftw_array ( const size_t  size  ) 

Forms a FFTW complex array of size.

Returns:
Pointer to the first element of the array.

Constructs a FFTW complex array. The fftw_malloc function is used to allocate the memory and garbage collection is NOT automated, please use fftw_free() from <fftw3.h> to deallocate the memory.

Definition at line 29 of file array_complex.c.

fftw_array_to_array ( fftw_complex *  source,
nttw_integer *  dest,
const int  size 
)

Copies the real FFTW array components to array.

IMPORTANT: Only the Real part of the FFTW is copied!

Definition at line 65 of file array_complex.c.

fftw_array_to_arraySigned ( fftw_complex *  source,
long *  dest,
const int  size 
)

Copies the real FFTW array components to signed array.

IMPORTANT: Only the Real part of the FFTW is copied!

Definition at line 73 of file array_complex.c.

fftw_init_1D ( fftw_complex *  data,
const size_t  size,
const nttw_real  value 
)

Initializes FFTW array (real and imaginary parts) to value.

Definition at line 38 of file array_complex.c.