Functions

K:/Projects/scplusplus/gpl_releases/frtw/include/array_complex.h File Reference

Complex Array Header/Object for the FRTW C Library. More...

#include <stdlib.h>
#include <fftw3.h>
#include <nttw/global.h>
Include dependency graph for array_complex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.
NTTW_DLL_SYM nttw_integer ** ptrArray (const size_t size)
 Constructs a pointer array of type nttw_integer* which is accessible from the zeroth index.
NTTW_DLL_SYM void free_ptrArray (nttw_integer **data)
 Deletes or frees the pointer array that would have been created by ptrArray().
NTTW_DLL_SYM void free_ptrArray_All (nttw_integer **data, const size_t size)
 Deletes or frees the pointer array and subsequent 1-D arrays that each of the pointers are pointing too that would have been created by ptrArray().

Detailed Description

Complex Array Header/Object for the FRTW C Library.

FRTW Complex Valued Array Library

This wraps all the FFTW malloc and free functions for producing arrays for 1D/2D. Functions for copying and differencing arrays are included also.

This file is part of FRTW Library.

FRTW is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

FRTW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with FRTW. If not, see <http://www.gnu.org/licenses/>.

Author:
Shekhar S. Chandra, 2008-10

Definition in file array_complex.h.