l2g(1)

NAME
l2g - graph from an adjacency description

CALLING SEQUENCE
[g] = l2g(la,lp,ls,dir)

PARAMETERS

g   : graph list

la,lp,ls
    : vectors of the adjacency description, la is the arc array,
      lp is the pointer array and ls is the node array

dir : integer flag, 1 if the graph is directed, 0 if the graph is
      undirected

DESCRIPTION
l2g computes a graph list from the adjacency vectors.

SEE ALSO
l2adj, adj2l