gives the Kirchhoff matrix of the graph g.
- KirchhoffMatrix returns a SparseArray object, which can be converted to an ordinary matrix using Normal.
- The diagonal entries equal the degree of .
- An entry is if vertex is adjacent to .
- The vertices are assumed to be in the order given by VertexList[g].
- The Kirchhoff matrix for a graph will have dimensions × where is the number of vertices.
New in 8