DiscreteMath question : ToAdjacencyMatrix and FromAdjacencyMatrix

*To*: mathgroup at smc.vnet.net*Subject*: [mg66017] DiscreteMath question : ToAdjacencyMatrix and FromAdjacencyMatrix*From*: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>*Date*: Thu, 27 Apr 2006 02:26:03 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com*Thread-index*: AcZpJ8avWE6244LjSwS25KhrzDXj4Q==

Let us set : paires = {{1, 2}, {2, 3}, {2, 4}, {4, 4}} The graph is given by : g = FromOrderedPairs[paires]; ShowGraph[g, VertexLabel -> {1, 2, 3, 4}] The matrix representation of this relation is given by : matrice = ToAdjacencyMatrix[g] Why does ToAdjacencyMatrix[FromAdjacencyMatrix[matrice]] don't give the same matrix? Regards F.Jaccard

**Follow-Ups**:**Re: DiscreteMath question : ToAdjacencyMatrix and FromAdjacencyMatrix***From:*Bruce Miller <brucem@wolfram.com>