亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
丰满亚洲少妇av| 久久婷婷国产综合精品青草| 欧美日韩成人激情| 中文在线免费一区三区高中清不卡| 亚洲激情中文1区| 国精品**一区二区三区在线蜜桃| 91社区在线播放| 久久伊99综合婷婷久久伊| 一区二区三区毛片| 国产精品亚洲综合一区在线观看| 在线视频亚洲一区| 国产精品人妖ts系列视频| 国产一区二区三区高清播放| 欧美日韩在线观看一区二区| 亚洲欧洲日韩av| 国产成人免费9x9x人网站视频| 欧美日韩亚洲综合一区二区三区| 国产精品网站在线| 国产一区 二区| 日韩精品一区二| 日韩高清不卡在线| 欧美日韩国产一区| 亚洲va韩国va欧美va| 日本国产一区二区| 中文字幕日韩一区| av毛片久久久久**hd| 中文字幕精品一区| 岛国一区二区三区| 久久久久久影视| 激情成人综合网| 精品久久久久香蕉网| 麻豆一区二区三区| 日韩一区二区免费高清| 麻豆国产欧美日韩综合精品二区| 欧美日本国产视频| 蜜臀国产一区二区三区在线播放 | 色婷婷综合久久久久中文| 亚洲区小说区图片区qvod| 99久久婷婷国产综合精品| 亚洲欧美日韩中文字幕一区二区三区 | 成人毛片视频在线观看| 国产欧美精品一区二区色综合| 国产一区二区在线电影| 国产视频一区在线观看 | 欧美激情中文字幕| 99精品欧美一区二区三区小说| 亚洲靠逼com| 精品视频一区二区不卡| 日韩高清不卡一区二区| 精品国产乱子伦一区| 粉嫩av一区二区三区| 日韩码欧中文字| 欧美色手机在线观看| 免费在线观看视频一区| 久久亚洲春色中文字幕久久久| 成人av资源网站| 亚洲午夜私人影院| 精品国产一区二区精华| 成人ar影院免费观看视频| 亚洲一区二区三区四区在线免费观看 | 国产成人免费av在线| 中文字幕视频一区| 欧美人伦禁忌dvd放荡欲情| 久久疯狂做爰流白浆xx| 国产精品不卡在线| 欧美日韩国产综合视频在线观看 | 99精品久久免费看蜜臀剧情介绍| 亚洲第一在线综合网站| 久久精品免费在线观看| 欧美视频在线一区| 国产一区二区三区不卡在线观看 | av中文字幕一区| 日韩不卡手机在线v区| 国产亚洲成年网址在线观看| 一本到高清视频免费精品| 美女网站一区二区| 亚洲久草在线视频| 久久午夜国产精品| 精品视频一区二区三区免费| 国产一区二区三区日韩| 亚洲国产综合在线| 国产三区在线成人av| 欧美肥妇毛茸茸| 91网站在线观看视频| 麻豆国产一区二区| 亚洲高清免费一级二级三级| 国产欧美一区二区三区在线老狼 | 精品粉嫩超白一线天av| 精品视频在线免费看| 99re这里都是精品| 国产美女精品在线| 蜜臀va亚洲va欧美va天堂| 亚洲精品乱码久久久久久| 久久精品日产第一区二区三区高清版| 欧美日韩国产三级| av一二三不卡影片| 国产成人免费视频网站 | 欧美色图12p| 亚洲一区二区三区三| 日韩一区二区免费在线观看| 色天天综合色天天久久| 成熟亚洲日本毛茸茸凸凹| 麻豆精品视频在线观看| 天堂影院一区二区| 一区二区不卡在线播放 | 日韩欧美色电影| 欧美精品久久久久久久多人混战| 91视频一区二区三区| 99精品偷自拍| 91在线无精精品入口| 福利91精品一区二区三区| 国产成人综合自拍| 欧美日韩在线综合| 欧美日韩综合色| 精品视频全国免费看| 欧美日韩一级大片网址| 欧美偷拍一区二区| 欧美三级在线视频| 337p亚洲精品色噜噜噜| 日韩一级黄色大片| 精品国产伦一区二区三区观看方式 | 亚洲图片欧美视频| 亚洲二区视频在线| 日日嗨av一区二区三区四区| 视频一区欧美日韩| 蜜臀av亚洲一区中文字幕| 日本成人在线电影网| 久久99国产精品久久99| 国产综合色视频| 国产91清纯白嫩初高中在线观看| 国产98色在线|日韩| 91在线观看地址| 欧美色视频在线| 欧美大尺度电影在线| 久久久久九九视频| 亚洲色欲色欲www在线观看| 洋洋成人永久网站入口| 日韩精品电影一区亚洲| 精品一区二区在线观看| 成人97人人超碰人人99| 欧洲一区二区三区在线| 日韩欧美资源站| 国产精品蜜臀在线观看| 亚洲国产一区视频| 国产一区二区三区精品欧美日韩一区二区三区 | 精品国产精品网麻豆系列| 国产欧美日韩三级| 亚洲自拍欧美精品| 丝袜美腿亚洲综合| 国产一区二区三区日韩| 色中色一区二区| 欧美一级日韩免费不卡| 国产精品久久久99| 男女视频一区二区| 波多野结衣中文字幕一区二区三区| 欧洲精品在线观看| 久久精品一区八戒影视| 亚洲日本一区二区| 久久97超碰色| 91久久一区二区| 日欧美一区二区| 成人性生交大合| 欧美酷刑日本凌虐凌虐| 国产精品九色蝌蚪自拍| 美女网站一区二区| 欧美性色欧美a在线播放| 久久精品一区二区三区av| 午夜精品在线看| 成人动漫av在线| 精品国产一区二区在线观看| 亚洲一区二区高清| 国产精品亚洲专一区二区三区 | 91小视频免费看| 精品欧美一区二区久久| 亚洲国产成人tv| 91免费在线播放| 国产三区在线成人av| 日本视频一区二区三区| 91传媒视频在线播放| 国产欧美精品一区aⅴ影院 | 69久久夜色精品国产69蝌蚪网| 国产精品久久夜| 国产成人高清在线| 精品国产免费人成电影在线观看四季 | 欧美高清激情brazzers| 亚洲欧美一区二区三区久本道91| 欧美日韩国产综合视频在线观看| 综合久久久久久| 成人高清免费在线播放| 久久精品亚洲一区二区三区浴池| 日本女人一区二区三区| 欧美日韩综合在线| 亚洲地区一二三色| 欧美日韩中文一区| 午夜一区二区三区在线观看| 在线日韩国产精品| 亚洲精品视频一区二区| 91美女在线看| 亚洲男人天堂一区| 在线亚洲+欧美+日本专区|