Functions

K:/Projects/scplusplus/gpl_releases/frtw/src/array_complex.c File Reference

Complex Array Source for the FRTW C Library. More...

#include "array_complex.h"
Include dependency graph for array_complex.c:

Go to the source code of this file.

Functions

fftw_complex * fftw_array (const size_t size)
 Forms a FFTW complex array of size.
void fftw_init_1D (fftw_complex *data, const size_t size, const nttw_real value)
 Initializes FFTW array (real and imaginary parts) to value.
void array_to_fftw_array (nttw_integer *source, fftw_complex *dest, const int size)
 Copies the array to the real FFTW array components.
void arraySigned_to_fftw_array (long *source, fftw_complex *dest, const int size)
 Copies the signed array to the real FFTW array components.
void fftw_array_to_array (fftw_complex *source, nttw_integer *dest, const int size)
 Copies the real FFTW array components to array.
void fftw_array_to_arraySigned (fftw_complex *source, long *dest, const int size)
 Copies the real FFTW array components to signed array.
nttw_integer ** ptrArray (const size_t size)
 Constructs a pointer array of type nttw_integer* which is accessible from the zeroth index.
void free_ptrArray (nttw_integer **data)
 Deletes or frees the pointer array that would have been created by ptrArray().
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 Source 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-9

Definition in file array_complex.c.