Home | Develop | Download | Contact
pdsawgn.h
1 /*
2  * pdsawgn.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 __PDSAWGN_H__
35 #define __PDSAWGN_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 
47 #ifndef TRUE
48  #define TRUE 1
49 #endif
50 
51 #ifndef FALSE
52  #define FALSE 0
53 #endif
54 
67 typedef struct
68 {
70  PdsGaussian *Z;
71 }PdsAwgn;
72 
73 
81 
82 
91 int pds_awgn_evaluate(PdsAwgn *Channel,const PdsVector *VectorInput,PdsVector *VectorOutput);
92 
93 
100 void pds_awgn_free(PdsAwgn *Channel);
101 
102 
109 void pds_awgn_destroy(PdsAwgn **Channel);
110 
111 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif
121 /* FPRNEURON_H */
122 
void pds_awgn_free(PdsAwgn *Channel)
Libera un canal de tipo puntero PdsAwgn.
float PdsCmReal
Definition: pdscmglobal.h:46
La estructura tipo PdsAwgn . Esta estructura genera una canal AWGN. Para usar incluir pds/pdsawgn...
Definition: pdsawgn.h:67
PdsGaussian * Z
Definition: pdsawgn.h:70
void pds_awgn_destroy(PdsAwgn **Channel)
Libera un canal de tipo puntero PdsAwgn y lo carga con NULL.
int pds_awgn_evaluate(PdsAwgn *Channel, const PdsVector *VectorInput, PdsVector *VectorOutput)
Evalua un vector en un canal AWGN.
PdsAwgn * pds_awgn_new(PdsCmReal Sigma)
Crea un canal de tipo PdsAwgn.

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed