networks[incidence] - makes an incidence matrix from a graph
|
Calling Sequence
|
|
incidence(G)
|
|
Description
|
|
•
|
This procedure returns the incidence matrix with rows representing vertices and edges representing columns.
|
•
|
If an edge is not incident to a vertex then the corresponding table entry is 0. If a directed edge is leaving a vertex then the corresponding table entry is -1. In all other cases, the table entry is 1.
|
•
|
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[incidence](...).
|
|
|
Download Help Document
Was this information helpful?