Home | Develop | Download | Contact
pdsbiawgn.h
1 /*
2  * pdsbiawgn.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 
34 #ifndef __PDSBIAWGN_H__
35 #define __PDSBIAWGN_H__
36 
37 #include <stdio.h>
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #include <pds/pdscmglobal.h>
44 #include <pds/pdsgaussian.h>
45 #include <pds/pdsvector.h>
46 #include <pds/pdsbvector.h>
47 
48 #ifndef TRUE
49  #define TRUE 1
50 #endif
51 
52 #ifndef FALSE
53  #define FALSE 0
54 #endif
55 
68 typedef struct
69 {
71  PdsGaussian *Z;
73 }PdsBiAwgn;
74 
75 
84 
85 
94 int pds_biawgn_evaluate(PdsBiAwgn *Channel,const PdsBVector *BVectorInput,PdsVector *VectorOutput);
95 
96 
103 void pds_biawgn_free(PdsBiAwgn *Channel);
104 
105 
112 void pds_biawgn_destroy(PdsBiAwgn **Channel);
113 
114 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif
124 /* FPRNEURON_H */
125 
float PdsCmReal
Definition: pdscmglobal.h:46
int pds_biawgn_evaluate(PdsBiAwgn *Channel, const PdsBVector *BVectorInput, PdsVector *VectorOutput)
Evalua un vector binario en un canal BIAWGN.
PdsBiAwgn * pds_biawgn_new(PdsCmReal A, PdsCmReal Sigma)
Crea un canal de tipo PdsBiAwgn.
PdsGaussian * Z
Definition: pdsbiawgn.h:71
void pds_biawgn_destroy(PdsBiAwgn **Channel)
Libera un canal de tipo puntero PdsBiAwgn y lo carga con NULL.
void pds_biawgn_free(PdsBiAwgn *Channel)
Libera un canal de tipo puntero PdsBiAwgn.
PdsCmReal A
Definition: pdsbiawgn.h:72
La estructura tipo PdsBiAwgn . Esta estructura genera una canal AWGN. Para usar incluir pds/pdsbiawgn...
Definition: pdsbiawgn.h:68

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed