MathGroup Archive 2009

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

Search the Archive

Re: GraphComplement doesn't work in 7.0


They return unevaluated because you don't provide them with the input
formats for which they are defined.

As can be clearly (!) seen in the Combinatorica manual,
GraphComplement needs a graph as input. What you gave him is not a
graph.

Look up this manual page:
Combinatorica/guide/GraphConstructionAndRepresentations

and find some graph representation functions. Hint: they start with
From.

Cheers -- Sjoerd


On Mar 4, 2:10 pm, Tangerine Luo <tangerine.... at gmail.com> wrote:
> I find some functions do not work in mathematica 7.0. Why?
> are some function not implemented yet?
> << Combinatorica`
> In[4]:= GraphComplement[{1 -> 2}]
>
> Out[4]= GraphComplement[{1 -> 2}]



  • Prev by Date: Re: question about mathlink.h
  • Next by Date: Re: Conjecture: 2n+1= 2^i+p ; 6k-2 or 6k+2 = 3^i+p
  • Previous by thread: Re: GraphComplement doesn't work in 7.0
  • Next by thread: Legends in GraphicsGrid