1: \begin{abstract}
2: The sum-product algorithm for decoding of binary codes is analyzed for
3: bipartite graphs in which the check nodes all have degree $2$. The
4: algorithm simplifies dramatically and may be expressed using linear
5: algebra. Exact results about the convergence of the algorithm are
6: derived and applied to trapping sets.
7: \end{abstract}
8: