main.h

来自「介绍了一种串行LDPC码的编码器和译码器的实现形式 C++环境下编写。有些地方」· C头文件 代码 · 共 26 行

H
26
字号
#include  <iostream.h>
#include  <string.h>
#include  <malloc.h>
#include  <stdlib.h>
#include  <stdio.h>
#include  <stdio.h>
#include  <time.h>
#include  <math.h>

#define Totalblock       10000   //the number of total block of the code prcessed 
#define EncodedLength    1008    //encoding length
#define InfoLength       504     //information length
#define ParityCheckNum   504     //
#define G_RowNum         281     //row number the generation
#define H_ColNum         6       //colomn number of the check matrix
#define CodeRate         0.5

#define max_iter         80       // Maximum number of iteratons of decoding to do 
#define limit            1e-100
#define pi               3.1415926535897932384626
#define TOOLARGE         10
#define TOOSMALL         1e-5


void simulation();

⌨️ 快捷键说明

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