MathGroup Archive 1999

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

Search the Archive

Re: Re: equaltity of lists


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