Home | Develop | Download | Contact
pdsbscblock.h
1 /*
2  * pdsbscblock.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 
33 #ifndef __PDSBSCBLOCKH__
34 #define __PDSBSCBLOCKH__
35 
36 #include <stdio.h>
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 #include <pds/pdscmglobal.h>
43 #include <pds/pdsuniform.h>
44 #include <pds/pdsbvector.h>
45 #include <pds/pdsbsc.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 {
71 
75 
76 
84 PdsBscBlock *pds_bscblock_new(PdsVector *P);
85 
86 
96 
97 
98 
107 int pds_bscblock_evaluate_val(PdsBscBlock *BLOCK,PdsBaBit u0,PdsBVector *BVectorOutput);
108 
109 
116 void pds_bscblock_free(PdsBscBlock *BLOCK);
117 
118 
125 void pds_bscblock_destroy(PdsBscBlock **BLOCK);
126 
131 #ifdef __cplusplus
132 }
133 #endif
134 
135 #endif
136 /* __PDSBSCBLOCKH__*/
137 
float PdsCmReal
Definition: pdscmglobal.h:46
int pds_bscblock_evaluate_val(PdsBscBlock *BLOCK, PdsBaBit u0, PdsBVector *BVectorOutput)
void pds_bscblock_destroy(PdsBscBlock **BLOCK)
Libera un bloque de canales de tipo puntero PdsBscBlock y lo carga con NULL.
PdsBsc ** BSC
Definition: pdsbscblock.h:70
PdsBscBlock * pds_bscblock_new_symmetric(PdsCmNatural M, PdsCmReal rho)
Crea un bloque de canales de tipo PdsBscBlock.
PdsBscBlock * pds_bscblock_new(PdsVector *P)
Crea un bloque de canales de tipo PdsBscBlock.
La estructura tipo PdsBscBlock . Esta estructura genera una bloque de canales BSC. Para usar incluir pds/pdsbscblock.h.
Definition: pdsbscblock.h:67
void pds_bscblock_free(PdsBscBlock *BLOCK)
Libera un canal de tipo puntero PdsBscBlock.
unsigned int PdsCmNatural
Definition: pdscmglobal.h:51
La estructura tipo PdsBsc . Esta estructura genera una canal BSC. Para usar incluir pds/pdsbsc...
Definition: pdsbsc.h:67
PdsCmNatural Nel
Definition: pdsbscblock.h:73

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed