Adjacency matrix of a graph (source code)

= Adjacency matrix of a graph
{title2=$A(G)$}
{wiki=Adjacency_matrix}

The adjacency matrix of a finite simple graph has entry $A_{uv}=1$ when vertices $u,v$ are adjacent and zero otherwise.