MathGroup Archive 1999

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

Search the Archive

Re: Re: equaltity of lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19194] Re: [mg19092] Re: [mg19036] equaltity of lists
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Tue, 10 Aug 1999 02:52:50 -0400
  • References: <199908050535.BAA03420@smc.vnet.net.> <7ofa82$pnq$5@dragonfly.wolfram.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Kevin J. McCann <kevinmccann at Home.com> wrote in message
news:7ofa82$pnq$5 at dragonfly.wolfram.com...
> Maarten
>
>
> Agree with you, but then why do you get
>
> Signature[{a,b,c,d}]
> True
>
> Signature[{a,b,d,c}]
> False
>
> By the same logic this should not return an answer.
>
> Kevin
>

I get


Signature[{a, b, c, d}]

    1


Signature[{a, b, d, c}]

    -1


?Signature

"Signature[list] gives the signature of the permutation needed to place the
\
elements of list in canonical order."

So it must work with current values.

Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565





  • Prev by Date: Re: Automatic grouping of animation cells
  • Next by Date: Re: M4: Evaluating cells from external notebooks
  • Previous by thread: Re: Re: equaltity of lists
  • Next by thread: Re: equaltity of lists