Bipartite adjacency matrix (source code)

= Bipartite adjacency matrix

With the two vertex classes listed consecutively, a bipartite graph has adjacency matrix $\left(\begin{smallmatrix}0&B\\B^T&0\end{smallmatrix}\right)$.