Home | Develop | Download | Contact
 Todo Estructuras de Datos Funciones Variables 'typedefs' Grupos Páginas
pdsifft.h
1 /*
2  * pdsifft.h
3  *
4  * Copyright 2011 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
30 #ifndef __PDSIFFT_H__
31 #define __PDSIFFT_H__
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 
38 #include <stdio.h>
39 
40 #include <pds/pdsftglobal.h>
41 #include <pds/pdscvector.h>
42 #include <pds/pdsvector.h>
43 
44 #ifndef TRUE
45  #define TRUE 1
46 #endif
47 
48 #ifndef FALSE
49  #define FALSE 0
50 #endif
51 
52 
86 typedef struct
87 {
89  PdsCVector *W;
92 }PdsIFft;
93 
94 
95 
112 
113 
115 
132 int pds_ifft_evaluate_complex(const PdsIFft *IFFT,PdsCVector *Out,const PdsCVector *In);
133 
134 
136 
149 void pds_ifft_free(PdsIFft *IFFT);
150 
151 
158 void pds_ifft_destroy(PdsIFft **IFFT);
159 
160 
162 
163 
168 #ifdef __cplusplus
169 }
170 #endif
171 
172 #endif /* __PDSIFFT_H__ */
173 
unsigned int PdsFtNatural
Definition: pdsftglobal.h:50
Estructura tipo PdsIFft. Esta estructura genera una Inversa de la Transformada Rápida de Fourier de N...
Definition: pdsifft.h:86
PdsIFft * pds_ifft_new(PdsFtNatural *N)
Crea una estructura de tipo PdsIFft, para generar una IFFT de N puntos. Si N no es potencia de 2...
void pds_ifft_free(PdsIFft *IFFT)
Libera una estructura de tipo puntero PdsIFft.
PdsCVector * W
Definition: pdsifft.h:89
void pds_ifft_destroy(PdsIFft **IFFT)
Libera una estructura de tipo puntero PdsIFft, y carga a la estructura con NULL.
int pds_ifft_evaluate_complex(const PdsIFft *IFFT, PdsCVector *Out, const PdsCVector *In)
Evalua la inversa de la transformada rápida de fourier a un vetor complejo. El tamaño del vector Out ...
PdsFtNatural N
Definition: pdsifft.h:91

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed