A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html below:

AdjacencyMatrix—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »

AdjacencyMatrix[g]

gives the SparseArray object representing the graph g.

AdjacencyMatrix[g,n]

gives the SparseArray object representing the graph g, adding additional unconnected vertices, if necessary, to create a graph with n vertices.

Details and Options Examplesopen all close all Basic Examples  (2)

The adjacency matrix of a graph specified by a rule list:

This function has been superseded by AdjacencyMatrix in the Wolfram System:

Scope  (2)

The SparseArray representation of a graph specified by a rule list:

This adds an extra row and column to the adjacency matrix, corresponding to unconnected vertices:

Properties & Relations  (2)

This gives a SparseArray representation of a graph specified by a Combinatorica object:

This shows the MatrixPlot of the adjacency matrix of a GridGraph, and its graph drawing:

Possible Issues  (1)

A second argument specifying fewer vertices than those contained in the graph is ignored:

Wolfram Research (2007), AdjacencyMatrix, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html. Text

Wolfram Research (2007), AdjacencyMatrix, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html.

CMS

Wolfram Language. 2007. "AdjacencyMatrix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html.

APA

Wolfram Language. (2007). AdjacencyMatrix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html

BibTeX

@misc{reference.wolfram_2025_adjacencymatrix, author="Wolfram Research", title="{AdjacencyMatrix}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html}", note=[Accessed: 17-August-2025]}

BibLaTeX

@online{reference.wolfram_2025_adjacencymatrix, organization={Wolfram Research}, title={AdjacencyMatrix}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/AdjacencyMatrix.html}, note=[Accessed: 17-August-2025]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4