TOPICS
Search

Szeged Matrix


The Szeged matrix, also known as the edge-Szeged matrix, is a graph matrix whose entries depend on numbers of vertices closer to one of two specified vertices than to the other (Diudea et al. 1997; Devillers and Balaban 1999, pp. 256-257; Mangaldan). The diagonal entries of the Szeged matrix are taken to be 0.

Equivalently, the Szeged matrix is the edge-restricted matrix whose off-diagonal entries can be nonzero only for pairs of adjacent vertices. In contrast, the path-Szeged matrix uses the same closeness counts for arbitrary pairs of distinct vertices in the same connected component. Thus, the Szeged matrix is the Hadamard product of the path-Szeged matrix and the adjacency matrix.

The Szeged index is half the sum of all entries of the Szeged matrix.

The Szeged matrix of a graph or molecule is implemented in the Wolfram Function Repository as ResourceFunction["SzegedMatrix"][g]. For molecules, hydrogen atoms are ignored by default (Mangaldan).


See also

Adjacency Matrix, Edge-Szeged Matrix, Graph Distance Matrix, Graph Matrix, Hadamard Product, Path-Szeged Matrix, Szeged Index

Explore with Wolfram|Alpha

References

Devillers, J. and Balaban, A. T. (Eds.). Topological Indices and Related Descriptors in QSAR and QSPR. Amsterdam, Netherlands: Gordon and Breach, pp. 256-257, 1999.Diudea, M. V.; Minailiuc, O. M.; Katona, G.; and Gutman, I. "Szeged Matrices and Related Numbers." MATCH Commun. Math. Comput. Chem. 35, 129-143, 1997. https://match.pmf.kg.ac.rs/electronic_versions/Match35/match35_129-143.pdf. Mangaldan, J. "SzegedMatrix." Wolfram Function Repository. https://resources.wolframcloud.com/FunctionRepository/resources/SzegedMatrix/.

Cite this as:

Weisstein, Eric W. "Szeged Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SzegedMatrix.html

Subject classifications