networks
span
finds the span of an edge set
Calling Sequence
Parameters
Description
Examples
span(eset, G)
G
-
graph or network
eset
set of edges of G
Important: The networks package has been deprecated.Use the superseding package GraphTheory instead.
An edge is said to be spanned by an edge set eset if both its ends are in the set of ends of edges in eset. This routine returns the set of edges spanned by eset in G.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[span](...).
with⁡networks:
G≔complete⁡5:
ends⁡e1,e2,e7,G
1,2,1,3,2,5
span⁡e1,e2,e7,G
e1,e2,e4,e5,e7,e9
ends⁡,G
1,2,1,3,1,5,2,3,2,5,3,5
See Also
GraphTheory
networks(deprecated)[rank]
with
Download Help Document