MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FromAdjacencyMatrix / FromAdjacencyLists - broken? Workaround?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104210] Re: FromAdjacencyMatrix / FromAdjacencyLists - broken? Workaround?
  • From: Andrew <dr.a.graham at googlemail.com>
  • Date: Sat, 24 Oct 2009 02:37:02 -0400 (EDT)
  • References: <hbr57n$rg1$1@smc.vnet.net>

I can't see the post in my browser, but Tom Dowling helpfully emailed
to say that on his Mac (non-Intel) running Mathematica 7.0.0 the code
above ran fine!

I'm using 7.0.1 on a windows (32 bit) platform, OS XP Pro SP3. Just to
check I'm not deluding myself, I ran an abbreviated version of the
steps above again. Here's the inputs & outputs shown:

In[1]:=    << "Combinatorica`"

In[2]:=    Edges[Cycle[3, Type -> Directed]]
Out[2]=  {{1, 2}, {2, 3}, {3, 1}}

In[3]:=    Edges[FromAdjacencyMatrix[
  ToAdjacencyMatrix[Cycle[3, Type -> Directed], Type -> Directed],
  Type -> Directed]]
Out[3]=  {{1, 2}, {2, 3}, {1, 3}}

Is it just my system or can anyone else reproduce this?

Best regards
Andrew


  • Prev by Date: Symbolic matrix algebra - Sumopack
  • Next by Date: How to format Superscript and Subscript for a symbol to the same vertical level??
  • Previous by thread: Re: Re: FromAdjacencyMatrix /
  • Next by thread: Re: FromAdjacencyMatrix / FromAdjacencyLists - broken? Workaround?