The arithmetic-geometric matrix A_AG of a simple graph is a weighted adjacency matrix with weight f(d_i, d_j) = (d_i + d_j)/(2sqrt(d_i d_j)), where d_i are the vertex degrees of the graph. In other words, [A_AG]_(i j) = {(d_i + d_j)/(2sqrt(d_i d_j)) | for i, j adjacent 0 | otherwise auto right match .