File: mod2convert.html

package info (click to toggle)
jtdx 2.2.159%2Bimproved-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 75,336 kB
  • sloc: cpp: 38,503; f90: 31,141; python: 27,061; ansic: 11,772; sh: 409; fortran: 353; makefile: 232
file content (51 lines) | stat: -rw-r--r-- 1,441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<HTML><HEAD>

<TITLE> Modulo-2 Matrix Sparse/Dense Conversion </TITLE>

</HEAD><BODY>


<H1> Modulo-2 Matrix Sparse/Dense Conversion </H1>

<P>The routines below convert modulo-2 matrices between the form used by
the <A HREF="mod2dense.html">routines for dense modulo-2 matrices</A>
and the form used by the <A HREF="mod2dense.html">routines for sparse
modulo-2 matrices</A>.

<P><B>Header files required</B>:
<TT>mod2sparse.h mod2dense.h mod2convert.h</TT>


<P><A NAME="sparse_to_dense"><HR><B>mod2sparse_to_dense</B>:
Convert a modulo-2 matrix from sparse to dense form.</A>

<BLOCKQUOTE><PRE>
void mod2sparse_to_dense 
( mod2sparse *m,  /* Sparse matrix to convert */
  mod2dense *r    /* Place to store result */
)
</PRE></BLOCKQUOTE>

The dense matrix, r, must already have been allocated, and must have at
least as many rows and columns as m, the sparse matrix to be converted.


<P><A NAME="dense_to_sparse"><HR><B>mod2dense_to_sparse</B>:
Convert a modulo-2 matrix from dense to sparse form.</A>

<BLOCKQUOTE><PRE>
void mod2dense_to_sparse 
( mod2dense *m,  /* Dense matrix to convert */
  mod2sparse *r  /* Place to store result */
)
</PRE></BLOCKQUOTE>

The sparse matrix, r, must already have been allocated, and must have at
least as many rows and columns as m, the dense matrix to be converted.


<HR>

<A HREF="index.html">Back to index for LDPC software</A>

</BODY></HTML>