networks[adjacency] - construct the adjacency matrix of a graph
|
Calling Sequence
|
|
adjacency(G)
|
|
Description
|
|
•
|
Two vertices are said to be adjacent if one or more edges connect them. This routine constructs an adjacency matrix whose rows and columns are indexed by the vertices and whose i-jth entry is the number of edges from vertex i to vertex j.
|
•
|
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[adjacency](...).
|
|
|