networks(deprecated)/incidence - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : networks(deprecated)/incidence

networks

  

incidence

  

makes an incidence matrix from a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

incidence(G)

Parameters

G

-

graph or network

Description

• 

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](...).

Examples

Important:The networks package has been deprecated. Use the superseding command GraphTheory[IncidenceMatrix]instead.

withnetworks:

Gcycle4:

addedge1,3,G:

TincidenceG

T1001−1110000110100110

(1)

T1,2

0

(2)

See Also

GraphTheory

networks(deprecated)[edges]

networks(deprecated)[incident]

with