makes an incidence matrix from a graph
graph or network
Important:The networks package has been deprecated. Use the superseding command GraphTheory[IncidenceMatrix]instead.
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
What kind of issue would you like to report? (Optional)