Home | Develop | Download | Contact
pdsiir1hp.h
1 /*
2  * pdsiir1hp.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 
35 #ifndef __PDSIIR1HP_H__
36 #define __PDSIIR1HP_H__
37 
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #include <pds/pdsdfglobal.h>
44 #include <pds/pdsvector.h>
45 
46 #include <stdio.h>
47 
48 #ifndef TRUE
49  #define TRUE 1
50 #endif
51 
52 #ifndef FALSE
53  #define FALSE 0
54 #endif
55 
80 typedef struct
81 {
90 }PdsIir1HP;
91 
105 
106 
118 
119 
131 int pds_iir1hp_evaluate_vector(PdsIir1HP *IIR1HP,const PdsVector *x,PdsVector *y);
132 
133 
140 void pds_iir1hp_free(PdsIir1HP *IIR1HP);
141 
142 
149 void pds_iir1hp_destroy(PdsIir1HP **IIR1HP);
150 
151 
156 #ifdef __cplusplus
157 }
158 #endif
159 
160 #endif /* __PDSIIR1HP_H__ */
161 
PdsDfReal a
Definition: pdsiir1hp.h:85
PdsIir1HP * pds_iir1hp_new(PdsDfReal a)
Crea un filtro IIR pasa alto de primer orden.
Una estructura tipo PdsIir1HP .
Definition: pdsiir1hp.h:80
void pds_iir1hp_free(PdsIir1HP *IIR1HP)
Libera el filtro pasa alto de tipo PdsIir1HP.
PdsDfReal xold
Definition: pdsiir1hp.h:87
PdsDfReal b
Definition: pdsiir1hp.h:83
void pds_iir1hp_destroy(PdsIir1HP **IIR1HP)
Libera el filtro pasa alto de tipo PdsIir1HP. y carga la variable con NULL.
int pds_iir1hp_evaluate_value(PdsIir1HP *IIR1HP, PdsDfReal x, PdsDfReal *y)
Evalúa el filtro IIR pasa alto con el valor de entrada x, el resultado es cargado en y...
PdsDfReal yold
Definition: pdsiir1hp.h:89
float PdsDfReal
Definition: pdsdfglobal.h:42
int pds_iir1hp_evaluate_vector(PdsIir1HP *IIR1HP, const PdsVector *x, PdsVector *y)
Evalua el filtro IIR pasa alto con el vector de entrada x, el resultado es cargado en el vector y...

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed