ToAdjacencyMatrix[g]
constructs an adjacency matrix representation for graph
.
ToAdjacencyMatrix[g,EdgeWeight]
returns edge weights as entries of the adjacency matrix with Infinity representing missing edges.
ToAdjacencyMatrix
ToAdjacencyMatrix[g]
constructs an adjacency matrix representation for graph
.
ToAdjacencyMatrix[g,EdgeWeight]
returns edge weights as entries of the adjacency matrix with Infinity representing missing edges.
更多信息和选项
- ToAdjacencyMatrix functionality is now available in the built-in Wolfram Language function AdjacencyMatrix.
- To use ToAdjacencyMatrix, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- An option Type that takes on values All or Simple can be used to affect the matrix constructed.
- Type->All is the default, and Type->Simple ignores any self-loops or multiple edges
may have.
相关指南
-
▪
- Graph Construction and Representations ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
文本
Wolfram Research (2012),ToAdjacencyMatrix,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/ToAdjacencyMatrix.html.
CMS
Wolfram 语言. 2012. "ToAdjacencyMatrix." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ToAdjacencyMatrix.html.
APA
Wolfram 语言. (2012). ToAdjacencyMatrix. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/ToAdjacencyMatrix.html 年
BibTeX
@misc{reference.wolfram_2025_toadjacencymatrix, author="Wolfram Research", title="{ToAdjacencyMatrix}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/ToAdjacencyMatrix.html}", note=[Accessed: 28-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_toadjacencymatrix, organization={Wolfram Research}, title={ToAdjacencyMatrix}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/ToAdjacencyMatrix.html}, note=[Accessed: 28-April-2026]}