ra.h

来自「快速傅立叶变换程序代码,学信号的同学,可要注意了」· C头文件 代码 · 共 66 行

H
66
字号
/*  RA.h       I want a structure to define the code        which is given to an encoder or a decoder       In the decoder, there are state variables q, f, b,       etc.  LUMP WITH: a structure to define the decoding method, number of       iterations, assumed noise level. dc    and a separate structure to define the        simulation parameters - true noise level, number of blocks to do.       this str can also contain the counts of errors, and the true vector*/typedef struct {#include "RAdc_var_str.h"  /* params */  unsigned char *s , *t ; /* data, (before reordered and repeated,)			     transmitted */  unsigned char *so , *to ; /* decoder output */  double **bias , **q ; /* q = priors, bias = likelihoods */  double **f , **r ; /* space for forward backward to use */  int *histo ; /* histogram of loops to converge */  int count ; /* count of number of differences between 		 the state and the true answer (source block) */  int tcount ; /* count of number of differences between 		 codeword state and true codeword */  int true_s ;   /* whether the true s is supplied */  int viols ;    /* number of violations by the reconstructed s vector */  alist_matrix   a ;   double bep ;  double bep_u ;  double bep_l ;  double bitep ;  double bitep_u ;  double bitep_l ;  double bep_undet ;  double bep_det ;  double bep_detlw ;  int blocks;  int block_errs;  int block_undet;  int block_det;  int block_valid;  int block_detlw ; /* how many low weight detected error events */  int lowweight ; /* definition of 'low weight' */  double ebno;  double gcxact;  int bit_errs;  int bit_undet;  int bit_det;  int sourceweight ;     double R;} RA_control ; /* was data_creation_param and RA_param */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?