亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rcode.c

?? ldpc的11個程序 encode decode extract make-gen make-ldpc make-pchk print-gen print-pchk rand-src transm
?? C
字號:
/* RCODE.C - Procedures to read parity check and generator matrices. *//* Copyright (c) 2000, 2001 by Radford M. Neal  * * Permission is granted for anyone to copy, use, or modify this program  * for purposes of research or education, provided this copyright notice  * is retained, and note is made of any changes that have been made.  * * This program is distributed without any warranty, express or implied. * As this program was written for research purposes only, it has not been * tested to the degree that would be advisable in any important application. * All use of this program is entirely at the user's own risk. */#include <stdio.h>#include <stdlib.h>#include <math.h>#include "alloc.h"#include "intio.h"#include "open.h"#include "mod2sparse.h"#include "mod2dense.h"#include "mod2convert.h"#include "rcode.h"/* VARIABLES DECLARED IN RCODE.H.  These global variables are set to   representations of the parity check and generator matrices by read_pchk   and read_gen. */mod2sparse *H;		/* Parity check matrix */int M;			/* Number of rows in parity check matrix */int N;			/* Number of columns in parity check matrix */char type;		/* Type of generator matrix representation (s/d/m) */int *cols;		/* Ordering of columns in generator matrix */mod2sparse *L, *U;	/* Sparse LU decomposition, if type=='s' */int *rows;		/* Ordering of rows in generator matrix (type 's') */mod2dense *G;		/* Dense or mixed representation of generator matrix,			   if type=='d' or type=='m' *//* READ PARITY CHECK MATRIX.  Sets the H, M, and N global variables.  If an   error is encountered, a message is displayed on standard error, and the   program is terminated. */void read_pchk( char *pchk_file){  FILE *f;  f = open_file_std(pchk_file,"rb");  if (f==NULL)  { fprintf(stderr,"Can't open parity check file: %s\n",pchk_file);    exit(1);  }  if (intio_read(f)!=('P'<<8)+0x80)  { fprintf(stderr,"File %s doesn't contain a parity check matrix\n",pchk_file);    exit(1);  }  H = mod2sparse_read(f);  if (H==0)  { fprintf(stderr,"Error reading parity check matrix from %s\n",pchk_file);    exit(1);  }  M = mod2sparse_rows(H);  N = mod2sparse_cols(H);  fclose(f);}/* READ GENERATOR MATRIX.  The parity check matrix must have already been    read, unless the last argument is set to 1.  The generator matrix must be    compatible with the parity check matrix, if it has been read.  If the    second argument is 1, only the column ordering (the last N-M of which are    the indexes of the message bits) is read, into the 'cols' global variable.     Otherwise, everything is read, into the global variables appropriate   to the representation.  The 'type' global variable is set to a letter   indicating which represention is used.    If an error is encountered, a message is displayed on standard error,   and the program is terminated. */void read_gen( char *gen_file,	/* Name of generator matrix file */  int cols_only,	/* Read only column ordering? */  int no_pchk_file	/* No parity check file used? */){  int M2, N2;  FILE *f;  int i;  f = open_file_std(gen_file,"rb");  if (f==NULL)  { fprintf(stderr,"Can't open generator matrix file: %s\n",gen_file);    exit(1);  }  if (intio_read(f)!=('G'<<8)+0x80)  { fprintf(stderr,"File %s doesn't contain a generator matrix\n",gen_file);    exit(1);  }  if (fread (&type, 1, 1, f) != 1) goto error;  M2 = intio_read(f);  N2 = intio_read(f);  if (feof(f) || ferror(f)) goto error;  if (no_pchk_file)  { M = M2;    N = N2;  }  else   { if (M2!=M || N2!=N)    { fprintf(stderr,              "Generator matrix and parity-check matrix are incompatible\n");      exit(1);    }  }  cols = chk_alloc (N, sizeof *cols);  rows = chk_alloc (M, sizeof *rows);  for (i = 0; i<N; i++)  { cols[i] = intio_read(f);    if (feof(f) || ferror(f)) goto error;  }  if (!cols_only)  {    switch (type)    {      case 's':      {         for (i = 0; i<M; i++)        { rows[i] = intio_read(f);          if (feof(f) || ferror(f)) goto error;        }        if ((L = mod2sparse_read(f)) == 0) goto error;        if ((U = mod2sparse_read(f)) == 0) goto error;          if (mod2sparse_rows(L)!=M || mod2sparse_cols(L)!=M) goto garbled;        if (mod2sparse_rows(U)!=M || mod2sparse_cols(U)<M) goto garbled;               break;      }        case 'd':      {        if ((G = mod2dense_read(f)) == 0) goto error;          if (mod2dense_rows(G)!=M || mod2dense_cols(G)!=N-M) goto garbled;          break;      }        case 'm':      {        if ((G = mod2dense_read(f)) == 0) goto error;          if (mod2dense_rows(G)!=M || mod2dense_cols(G)!=M) goto garbled;          break;      }        default:       { fprintf(stderr,         "Unknown type of generator matrix in file %s\n",gen_file);        exit(1);      }    }  }    fclose(f);  return;error:  fprintf(stderr,"Error reading generator matrix from file %s\n",gen_file);  exit(1);garbled:  fprintf(stderr,"Garbled generator matrix in file %s\n",gen_file);  exit(1);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
2023国产精品自拍| 国产精品视频一二| 丁香婷婷综合网| 亚洲三级理论片| 精品国产sm最大网站| 国产黄人亚洲片| 亚洲在线视频免费观看| 欧美电影精品一区二区| 午夜av电影一区| 专区另类欧美日韩| 日韩欧美色电影| 欧美午夜理伦三级在线观看| 亚洲精品高清在线| 精品少妇一区二区三区在线播放| 91啪九色porn原创视频在线观看| 蜜臀a∨国产成人精品| 亚洲一区中文日韩| 亚洲欧洲成人自拍| 在线播放91灌醉迷j高跟美女| 91激情在线视频| 国产999精品久久久久久绿帽| 久久久99免费| 26uuu国产日韩综合| 国产激情一区二区三区| 五月天国产精品| 中文字幕在线观看不卡| 成人国产精品免费观看动漫| 精品亚洲国产成人av制服丝袜| 日韩天堂在线观看| 欧美精品精品一区| 国产亚洲精品aa| 国产成人一级电影| 亚洲人成亚洲人成在线观看图片| 久久人人爽爽爽人久久久| 美腿丝袜一区二区三区| 首页亚洲欧美制服丝腿| 日韩中文字幕区一区有砖一区| 亚洲一区在线电影| 亚洲一线二线三线视频| 一级日本不卡的影视| 亚洲一区二区免费视频| 精品国产一区二区三区久久久蜜月 | 中文字幕免费不卡在线| 日韩精品一二三| 亚洲电影在线免费观看| 亚洲高清视频在线| 欧美一区二区三区精品| 亚洲成a人片在线观看中文| 国产精品久久久久久妇女6080 | 亚洲欧洲综合另类| 亚洲国产成人av| 欧美成人女星排行榜| 久久婷婷国产综合国色天香| 国产欧美一区二区三区网站| 欧美日本韩国一区| 91精品国产综合久久久蜜臀粉嫩 | 国产精品乱码久久久久久| 国产精品久久久久久亚洲毛片| 91麻豆国产福利在线观看| 色噜噜狠狠一区二区三区果冻| 欧美丝袜丝交足nylons图片| 91精品国产综合久久香蕉麻豆| 日韩欧美国产午夜精品| 偷拍一区二区三区四区| 91丨九色porny丨蝌蚪| 精品视频在线看| 欧美一区二区三区在线观看| 3atv一区二区三区| 国产片一区二区| www欧美成人18+| 一级日本不卡的影视| 国产激情精品久久久第一区二区 | 亚洲精品国产一区二区三区四区在线| 亚洲观看高清完整版在线观看 | 国产麻豆欧美日韩一区| 日韩av电影天堂| 99久久免费视频.com| 色噜噜狠狠色综合欧洲selulu | 亚洲黄色尤物视频| 免费在线观看日韩欧美| 91农村精品一区二区在线| 粉嫩一区二区三区性色av| 激情综合五月婷婷| 色诱视频网站一区| 久久精品亚洲精品国产欧美kt∨ | 亚洲精品一区二区三区影院| 亚洲欧美另类小说视频| 韩国成人福利片在线播放| 日本韩国精品一区二区在线观看| 国产一区二区福利视频| 欧美日本乱大交xxxxx| 中文字幕一区二区在线观看| 激情综合网天天干| 欧美老肥妇做.爰bbww视频| 最新热久久免费视频| 国产成人丝袜美腿| 日韩视频永久免费| 久久精品视频免费| 亚洲超碰精品一区二区| 日本乱人伦一区| 亚洲欧美另类在线| 色av成人天堂桃色av| 综合亚洲深深色噜噜狠狠网站| 另类小说视频一区二区| 欧美一区二区三区视频免费| 性欧美大战久久久久久久久| 97久久超碰国产精品电影| 国产婷婷色一区二区三区四区| 精品久久久网站| 久久99精品国产麻豆不卡| 国产91露脸合集magnet| 久久一区二区三区四区| 韩国女主播一区| 欧美成人乱码一区二区三区| 国产日韩欧美一区二区三区乱码| 国产精品一线二线三线| 久久免费美女视频| 国产福利精品一区| 国产蜜臀97一区二区三区| 国产·精品毛片| 亚洲欧美aⅴ...| 欧美吻胸吃奶大尺度电影| 欧美一区二区精品久久911| 亚洲欧美日韩系列| 国产最新精品免费| 国产精品欧美综合在线| 成人精品国产福利| 一区二区三区在线影院| 欧美日韩日日夜夜| 麻豆专区一区二区三区四区五区| 日韩美女视频一区二区在线观看| 激情国产一区二区| 精品成人佐山爱一区二区| 亚洲精品高清视频在线观看| 91麻豆精品久久久久蜜臀| 青青草伊人久久| 欧美激情综合网| 欧美中文字幕一区二区三区| 亚洲资源中文字幕| 黄页视频在线91| 国产精品麻豆欧美日韩ww| 麻豆精品一区二区三区| 国产精品视频一二| 67194成人在线观看| 国产精品一区在线观看乱码| 亚洲欧美日韩一区二区 | 国产精品盗摄一区二区三区| 色8久久人人97超碰香蕉987| 精品影院一区二区久久久| 一区视频在线播放| 日韩欧美123| 91在线免费视频观看| 视频一区欧美精品| 亚洲精品中文在线观看| 精品成人在线观看| 国产日韩av一区| 成人免费在线视频| 亚洲另类中文字| 五月激情综合色| 久久精品国产成人一区二区三区 | 91伊人久久大香线蕉| 成人激情综合网站| 国产一二三精品| 久久国产精品99精品国产| 老司机精品视频在线| 国产精品99精品久久免费| 国产黄色精品视频| 成人黄色国产精品网站大全在线免费观看 | 欧美亚洲禁片免费| 欧美一区二区三区啪啪| 久久综合成人精品亚洲另类欧美 | 91精品国产综合久久久久久久久久 | 日本韩国精品在线| 91精品国产综合久久精品 | 中文av一区特黄| 一区二区三区免费| 日本午夜精品视频在线观看| 精品综合免费视频观看| 成人a区在线观看| 欧美日韩综合不卡| 精品国产乱码久久久久久1区2区| 国产精品午夜在线观看| 一卡二卡三卡日韩欧美| 另类小说欧美激情| 色综合久久66| 久久久久国色av免费看影院| 亚洲男人的天堂在线aⅴ视频| 日产欧产美韩系列久久99| 粉嫩aⅴ一区二区三区四区五区| 99久久er热在这里只有精品15| 欧美乱妇23p| 中文字幕一区二区三区四区不卡| 亚洲成av人片在线观看| 成人高清在线视频| 欧美电视剧在线看免费| 亚洲黄色在线视频| 丁香亚洲综合激情啪啪综合| 51精品国自产在线| 亚洲久草在线视频| 成人精品视频一区|