?? ldpc.cpp
字號:
#include "ldpc.h"
void ldpc(int infor[],int codes[],int g[][7],int n,int k)
{ int i=0;
int j=0;
int temp=0;
for(i=0;i<n;i++)
{ temp=0;
for(j=0;j<k;j++)
temp=temp+infor[j]*g[j][i];
codes[i]=temp%2;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -