|
SOLUTIONS
|
COMBINATORICA 程序包 符号
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.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
