binconviir.cc.txt

来自「压缩文件中是Error Correction Coding - Mathemat」· 文本 代码 · 共 45 行

TXT
45
字号
// BinConv.cc -- (n,k) binary convolutional coder// Todd K. Moon// Copyright 2004 by Todd K. Moon// Permission is granted to use this program/data// for educational/research only#include "BinConvIIR.h"			// the multi-input convolutional object#include "matalloc.h"#include <iostream>using namespace std;BinConvIIR::BinConvIIR(int in_k, int in_n, int in_p, unsigned int* h_in,				 unsigned int g_in)   : BinConv(in_k,in_n), tf(in_p,in_k,h_in,g_in){   nu = in_p;};// encode ins[0] ... ins[k-1] to get the n outputsunsigned int *BinConvIIR::encode(const unsigned char *ins){   // fill in the blanks ...}unsigned intBinConvIIR::getstate() const{   // fill in the blanks ...}voidBinConvIIR::setstate(unsigned int instate){   // fill in the blanks ...}/*Local Variables:compile-command: "g++ -c -g BinConvIIR.cc"End:*/

⌨️ 快捷键说明

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