blockcodegenerator.h

来自「根据LDPC码中码子的构造方法中的PEG算法」· C头文件 代码 · 共 43 行

H
43
字号
#define KMAX 8 // max number of rows in the generator matrix#define NMAX 10 // max number of columns in the generator matrix#ifndef BLOCKCODEGENERATOR#define BLOCKCODEGENERATORclass BlockCodeGenerator {public:  // K inputbits generate N outputbits  int K, N;  // number of parity checks  int M;  // maximum number of ones per row in G and H, respectively  int l, m;  // compressed parity check matrix  int *(*T);  // compressed generator matrix  int *(*S);  // location of info bits within a codeword  int *infoBitsLocation;  // construct block code "codeName"  BlockCodeGenerator(char codeName[100]);  // destructor  ~BlockCodeGenerator();  void printDegSeq(void);};#endif

⌨️ 快捷键说明

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