Given a linear code $C$ with parity-check matrix H, the function returns the Tanner graph associated to H. This is a bipartite graph with one set of vertices indexed by the rows of H and the other by the columns of H. The vertex corresponding to the $i$-th row is connected to the vertex corresponding to the $j$-th column if and only if the $(i,j)$-th entry of H is nonzero.
|
|
The object tannerGraph is a method function.