Home | Develop | Download | Contact
 Todo Estructuras de Datos Funciones Variables 'typedefs' Grupos Páginas
pdsgoertzel.h
1 /*
2  * pdsgoertzel.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 
31 #ifndef __PDSGOERTZEL_H__
32 #define __PDSGOERTZEL_H__
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 
39 #include <stdio.h>
40 
41 #include <pds/pdsftglobal.h>
42 #include <pds/pdscn.h>
43 #include <pds/pdsvector.h>
44 
45 #ifndef TRUE
46  #define TRUE 1
47 #endif
48 
49 #ifndef FALSE
50  #define FALSE 0
51 #endif
52 
53 
95 typedef struct
96 {
105  PdsComplex W;
108 }PdsGoertzel;
109 
110 
112 
131 
133 
151 int pds_goertzel_evaluate_real(const PdsGoertzel *FT,PdsComplex *X,const PdsVector *In);
152 
153 
155 
169 
170 
178 
180 
185 #ifdef __cplusplus
186 }
187 #endif
188 
189 #endif /* __PDSGOERTZEL_H__ */
190 
void pds_goertzel_free(PdsGoertzel *FT)
Libera una estructura de tipo puntero PdsGoertzel.
unsigned int PdsFtNatural
Definition: pdsftglobal.h:50
void pds_goertzel_destroy(PdsGoertzel **FT)
Libera una estructura de tipo puntero PdsGoertzel, y carga a la estructura con NULL.
PdsGoertzel * pds_goertzel_new(PdsFtNatural k, PdsFtNatural N)
Crea una estructura de tipo PdsGoertzel, para generar una FT de N puntos. Si N no es potencia de 2...
int pds_goertzel_evaluate_real(const PdsGoertzel *FT, PdsComplex *X, const PdsVector *In)
Evalúa la transformada de fourier X[k] a un vector real. El tamaño del vector In debe ser igual o men...
float PdsFtReal
Definition: pdsftglobal.h:45
Estructura tipo PdsGoertzel. Esta estructura genera una Transformada de Fourier de N puntos aplicando...
Definition: pdsgoertzel.h:95
PdsFtNatural N
Definition: pdsgoertzel.h:107
PdsFtNatural k
Definition: pdsgoertzel.h:103
PdsFtReal a
Definition: pdsgoertzel.h:98
PdsComplex W
Definition: pdsgoertzel.h:105

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed