lr_en_de_code.h

来自「程序中给出了一个和积算法的LDPC程序」· C头文件 代码 · 共 16 行

H
16
字号

#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#define H_col  1024                      //校验矩阵的列数
#define H_row  512                       //校验矩阵的行数
#define MAX_cycle 20                     //最大迭代次数
#define PI 3.14159265358979322384626433832795
#define Hmax_rowdeg 6                    //校验节点最大度数
#define Hmax_coldeg 3                    //变量节点最大度数
#define	Clength sizeof(char)*8        
#define SIMULATION_BLOCK_NUM 2000         //仿真分组数

⌨️ 快捷键说明

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