Scilab function

edge_number - number of edges of a graph

Calling Sequence

ma = edge_number(g)

Parameters

Description

edge_number returns the number m of edges of the graph. If the graph is directed, it is the number of arcs. If the graph is undirected, it is half the number of edges. It is always equal to the dimension of g('tail') and g('head').

See Also