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

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

?? mod2dense.html

?? 關于LDPC編/譯碼的方針平臺。能隨機產生信源和模擬高斯信道。
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<HTML><HEAD><TITLE> Dense Modulo-2 Matrix Routines </TITLE></HEAD><BODY><H1> Dense Modulo-2 Matrix Routines </H1><P>This module implements operations on matrices in which the elementsare all 0 or 1, with addition and multiplication being done modulo 2.The matrices are stored with consecutive bits of a column packed into32-bit words, and the procedures are implemented where possible usingbit operations on these words.  <P>This is an appropriate representation when the matrices are dense(ie, 0s and 1s are about equally frequent).  Matrices in which mostelements are 0s may be better handled with the <AHREF="mod2sparse.html">sparse modulo-2 matrix routines</A>.  Matricescan be converted between these two formats using the <AHREF="mod2convert.html">module-2 matrix conversion routines</A>.  <P>All procedures in this module display an error message on standarderror and terminate the program if passed an invalid argument(indicative of a programming error), or if memory cannot be allocated.Errors from invalid contents of a file result in an error code beingreturned to the caller, with no message being printed by this module.<H2>Representation of dense matrices</H2><P>This module represents a matrix by a pointer to a structure of type<TT>mod2dense</TT>.  This structure records the number of rows andcolumns in the matrix, and contains an array of pointers to where thebits making up each column are stored.  These bits are packed 32 perword. When possible, bits in a column are manipulated 32 bits at atime, which operations such as adding one column to another muchfaster than the corresponding operations on rows.  The pointerstructure also allows the columns of a matrix to easily be rearranged,which may be necessary when doing matrix inversion.<P><B>Header files required</B>:<TT>mod2dense.h</TT><A NAME="dimension-sec"><P><HR><CENTER><BIG>Dimension Macros</BIG></CENTER></A><HR>The following macros take a pointer to a mod2dense structure as theirargument, and return the number of rows or the number of columns inthe matrix pointed to, which will have been fixed when the matrix wascreated with <A HREF="#allocate">mod2dense_allocate</A>:<BLOCKQUOTE><PRE>mod2dense_rows(m)   /* Returns the number of rows in m */mod2dense_cols(m)   /* Returns the number of columns in m */</PRE></BLOCKQUOTE><A NAME="alloc-sec"><P><HR><CENTER><BIG>Allocating and Freeing Dense Modulo-2 Matrices</BIG></CENTER></A><A NAME="allocate"><HR><B>mod2dense_allocate</B>: Allocate space for a dense module-2 matrix.</A><BLOCKQUOTE><PRE>mod2dense *mod2dense_allocate ( int n_rows,    /* Number of rows in matrix */  int n_cols     /* Number of columns in matrix */)</PRE></BLOCKQUOTE>Allocates space for a matrix with the given number of rows andcolumns, and returns a pointer to it.  If there is not enough memoryavailable, a message is displayed on standard error and the program isterminated.  The matrix should be freed with <AHREF="#free"><TT>mod2dense_free</TT></A> once it is no longer in use.<P><A NAME="free"><HR><B>mod2dense_free</B>: Free the space occupied by a dense module-2 matrix.</A><BLOCKQUOTE><PRE>void mod2dense_free ( mod2dense *m   /* Pointer to matrix to free */)</PRE></BLOCKQUOTE>Frees the space occupied by the matrix for re-use.  The pointer passedshould no longer be used.<A NAME="copy-clear-sec"><P><HR><CENTER><BIG>Copying and Clearing Dense Modulo-2 Matrices</BIG></CENTER></A><A NAME="clear"><HR><B>mod2dense_clear</B>: Set all elements of a matrix to zero.</A><BLOCKQUOTE><PRE>void mod2dense_clear( mod2dense *m   /* Pointer to matrix to clear */)</PRE></BLOCKQUOTE>Sets all of the elements of the matrix passed to 0.<P><A NAME="copy"><HR><B>mod2dense_copy</B>: Copy the contents of one matrix to another.</A><BLOCKQUOTE><PRE>void mod2dense_copy( mod2dense *m   /* Pointer to matrix to copy from */  mod2dense *r   /* Pointer to matrix to receive data */)</PRE></BLOCKQUOTE>Copies the contents of the first matrix passed, <B>m</B>, to thesecond matrix passed, <B>r</B>, which must already have beenallocated, and must have at least as many rows and columns as thefirst.  If <B>r</B> is larger than <B>m</B>, its elements that haverow or column indexes greater than the dimension of <B>m</B> are setto zeros.<P><A NAME="copyrows"><HR><B>mod2dense_copyrows</B>: Copy selected rows from one matrix to another.</A><BLOCKQUOTE><PRE>void mod2dense_copyrows( mod2dense *m,   /* Pointer to matrix to copy columns from */  mod2dense *r,   /* Pointer to matrix in which to store data */  int *rows       /* Indexes of rows, numbered from 0 */)</PRE></BLOCKQUOTE>Copies selected rows of the first matrix, <B>m</B>, to the secondmatrix, <B>r</B>, which must already have been allocated, and whichmust have at least as many columns as <B>m</B>.  The indexes of therows to copy are given in order as an array of length the same asthe number of rows in <B>r</B>; duplicates are allowed.  Rowindexes start at 0.  These rows are copied to <B>r</B>, with therow indexed by the first entry in <B>rows</B> going to the firstrow of <B>r</B>, and so forth.  If <B>r</B> has more columns than<B>m</B>, the extra entries in each row are set to zeros.<P><A NAME="copycols"><HR><B>mod2dense_copycols</B>: Copy selected columns from one matrix to another.</A><BLOCKQUOTE><PRE>void mod2dense_copycols( mod2dense *m,   /* Pointer to matrix to copy columns from */  mod2dense *r,   /* Pointer to matrix in which to store data */  int *cols       /* Indexes of columns, numbered from 0 */)</PRE></BLOCKQUOTE>Copies selected columns of the first matrix, <B>m</B>, to the secondmatrix, <B>r</B>, which must already have been allocated, and whichmust have at least as many rows as <B>m</B>.  The indexes of thecolumns to copy are given in order as an array of length the same asthe number of columns in <B>r</B>; duplicates are allowed.  Columnindexes start at 0.  These columns are copied to <B>r</B>, with thecolumn indexed by the first entry in <B>cols</B> going to the firstcolumn of <B>r</B>, and so forth.  If <B>r</B> has more rows than<B>m</B>, the extra entries in each column are set to zeros.<A NAME="input-output-sec"><P><HR><CENTER><BIG>Input and Output of Dense Modulo-2 Matrices</BIG></CENTER></A><A NAME="print"><HR><B>mod2dense_print</B>: Print a dense modulo-2 matrix in human-readable form.</A><BLOCKQUOTE><PRE>void mod2dense_print( FILE *f,       /* File to print to */  mod2dense *m   /* Pointer to matrix to print */)</PRE></BLOCKQUOTE>The matrix is printed on standard output as "0" and "1" characters,each preceded by a space, with one line of "0"s and "1"s for each rowof the matrix.<P><A NAME="write"><HR><B>mod2dense_write</B>: Write a dense modulo-2 matrix to a file in machine-readable format.</A><BLOCKQUOTE><PRE>int mod2dense_write( FILE *f,       /* File to write data to */  mod2dense *m   /* Pointer to matrix write out */)</PRE></BLOCKQUOTE>Writes a machine-readable representation the dense matrix <B>m</B> tothe file <B>f</B>.  The file should have been opened in binary mode(with a "b" in the mode passed to fopen).  The contents written willnot be text, and will not be human-readable.  Other binary data mayprecede or follow the data for the matrix written.  <P>The data written to the file consists of the number of rows and thenumber of columns, followed by the bits in each column, packed into32-bit words.  The data should be readable by <AHREF="#read"><TT>mod2dense_read</TT></A> even on a machine with adifferent byte-ordering.<P>The value returned by <TT>mod2dense_write</TT> is one if theoperation was successful, zero if an error of some sort occurred.<P><A NAME="read"><HR><B>mod2dense_read</B>: Read a dense modulo-2 matrix from a file.</A><BLOCKQUOTE><PRE>mod2dense *mod2dense_read( FILE *f,       /* File to read data from */)</PRE></BLOCKQUOTE>Reads a dense modulo-2 matrix from the file <B>f</B>.  This fileshould have been opened in binary mode (with a "b" in the mode passedto fopen).  The contents of the file at the point when<TT>mod2dense_read</TT> is called should have been written by <AHREF="#write"><TT>mod2dense_write</TT></A>.  Other binary data mayprecede or follow this data.<P>The value returned is a pointer to the matrix read, for which spacewill have been allocated by <TT>mod2dense_read</TT>, or zero if anerror occurred (either an error reading the file, or data not in theright format).<A NAME="elementary-sec"><P><HR><CENTER><BIG>Elementary Operations on Dense Modulo-2 Matrices</BIG></CENTER>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲男女一区二区三区| 激情五月激情综合网| 成人午夜免费av| 国产日韩视频一区二区三区| 国产一区二区在线电影| 国产清纯美女被跳蛋高潮一区二区久久w| 久久av资源站| 国产欧美一区二区在线| 一本色道综合亚洲| 亚洲国产精品综合小说图片区| 在线看国产日韩| 日韩二区在线观看| 精品日韩成人av| 99在线精品免费| 午夜在线成人av| 久久亚洲精品国产精品紫薇| 成人夜色视频网站在线观看| 亚洲精品视频免费看| 欧美久久久久久久久中文字幕| 麻豆中文一区二区| 国产日韩成人精品| 欧洲av在线精品| 久久丁香综合五月国产三级网站| 欧美国产精品一区二区三区| 91精品福利视频| 久久成人精品无人区| 国产精品久久久一本精品| 欧美亚一区二区| 国产在线看一区| 亚洲曰韩产成在线| 久久综合网色—综合色88| 91麻豆精品在线观看| 日韩成人免费看| 日韩一区日韩二区| 日韩美女视频在线| 97se亚洲国产综合自在线观| 肉肉av福利一精品导航| 国产精品麻豆视频| 日韩欧美视频在线| 欧美少妇bbb| 风间由美一区二区三区在线观看| 亚洲高清免费在线| 中文字幕一区三区| 26uuu亚洲综合色| 欧美日韩激情一区二区| 97精品国产97久久久久久久久久久久| 老汉av免费一区二区三区| 18成人在线观看| 久久婷婷国产综合国色天香 | 国产精品乡下勾搭老头1| 伊人一区二区三区| 欧美高清在线精品一区| 日韩精品在线一区| 欧美精品亚洲二区| 日本韩国欧美在线| av一区二区三区在线| 精品一区二区三区日韩| 午夜精品久久久久久久蜜桃app | 欧美一二区视频| 91香蕉视频mp4| 国产精品亚洲成人| 麻豆精品一区二区三区| 亚洲国产成人av| 亚洲免费av网站| 国产情人综合久久777777| 欧美精品一区二区三| 精品国产污网站| 欧美一级片在线看| 日韩视频一区二区三区| 欧美精品在线一区二区三区| 欧美人妖巨大在线| 欧美日韩精品久久久| 欧美高清激情brazzers| 欧美日韩精品一区二区三区四区| 欧美色图12p| 欧美亚洲国产一卡| 欧美日韩国产一级片| 欧美日韩视频不卡| 在线播放日韩导航| 日韩视频一区二区在线观看| 欧美xxxx在线观看| 久久综合九色欧美综合狠狠 | 日韩高清在线电影| 蜜桃av噜噜一区| 精品亚洲成av人在线观看| 精品一二线国产| 国产美女av一区二区三区| 国产成人在线影院| av一区二区三区在线| 欧日韩精品视频| 欧美日韩黄色影视| 91精品在线免费观看| 欧美精品久久99| 日韩亚洲欧美一区二区三区| 欧美日韩精品一区视频| 欧美va亚洲va| 国产欧美日韩激情| 中文字幕成人网| 亚洲乱码国产乱码精品精98午夜| 18欧美乱大交hd1984| 亚洲动漫第一页| 图片区小说区国产精品视频| 久久97超碰色| 国产精品1区2区| 欧美中文一区二区三区| 日韩午夜电影av| 日本一区二区综合亚洲| 一区二区三区精品| 偷偷要91色婷婷| 成人精品国产一区二区4080 | 色老头久久综合| 欧美色综合天天久久综合精品| 日韩免费观看高清完整版| 精品日韩99亚洲| 日本一区二区三区四区| 亚洲一区在线观看视频| 日韩中文字幕不卡| 不卡的av中国片| 欧美午夜免费电影| 中文字幕av不卡| 亚洲国产视频a| 国产精品自拍网站| 色婷婷国产精品久久包臀| 91麻豆精品国产91久久久资源速度 | 91国偷自产一区二区使用方法| 欧美系列在线观看| 国产欧美一区二区精品久导航| 国产日韩欧美精品一区| 视频一区视频二区中文字幕| 99热在这里有精品免费| 欧美一区二区三区性视频| 中文字幕一区二区三区在线观看| 亚洲在线一区二区三区| 成人avav影音| 3atv在线一区二区三区| 亚洲人快播电影网| 麻豆精品视频在线观看免费| 91福利社在线观看| 久久综合av免费| 日韩高清不卡一区| 欧日韩精品视频| 国产精品久久久久久久午夜片| 亚洲电影你懂得| 成人精品免费网站| 欧美精品自拍偷拍| 亚洲猫色日本管| 国产成人自拍网| 精品1区2区3区| 欧美国产一区视频在线观看| 精品一区二区国语对白| 欧美日韩高清不卡| 亚洲国产欧美一区二区三区丁香婷| 日本成人中文字幕在线视频| 99精品国产99久久久久久白柏| 国产午夜精品一区二区三区视频 | 2021久久国产精品不只是精品| 五月天欧美精品| 99热在这里有精品免费| 精品播放一区二区| 日韩二区三区四区| 欧美一级xxx| 亚洲国产成人porn| 色女孩综合影院| 亚洲制服丝袜av| 91极品美女在线| 图片区小说区国产精品视频| 色婷婷国产精品| 丝袜美腿高跟呻吟高潮一区| 99国产精品视频免费观看| 国产视频一区在线播放| 福利电影一区二区三区| 2017欧美狠狠色| 成人福利在线看| 国产精品免费视频观看| 成人av资源在线观看| 精品日韩欧美在线| 国产成人在线电影| 国产精品高清亚洲| 成人精品一区二区三区四区| 综合久久久久久| 不卡视频一二三| 亚洲专区一二三| 91色porny蝌蚪| 亚洲一区二区视频| 日韩欧美国产一区二区在线播放 | 久久蜜桃一区二区| 成人综合在线视频| 久久亚洲春色中文字幕久久久| 久久99久久精品| 国产精品超碰97尤物18| av亚洲精华国产精华| 亚洲综合网站在线观看| 欧美一区二区三区爱爱| 秋霞电影网一区二区| 国产亚洲成aⅴ人片在线观看| 狠狠狠色丁香婷婷综合激情| 中文字幕一区二区三区不卡在线| 91亚洲精品乱码久久久久久蜜桃| 亚洲欧美一区二区在线观看| 欧美日韩国产不卡|