adiacentiematrix
Adiacentiematrix is a term used in graph theory to refer to what is commonly called the adjacency matrix of a graph. It is a square matrix that encodes the connections between the vertices of a graph with n vertices.
In a simple, unweighted, undirected graph, the adjacency matrix A is an n×n matrix where A[i][j] equals
Key properties include that, for undirected graphs without loops, A is symmetric with zeros on the diagonal
The adjacency matrix is a primary tool for algebraic graph analysis. Its eigenvalues and eigenvectors form