Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Return different values of a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49434] Re: [mg49425] Return different values of a list
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Tue, 20 Jul 2004 07:53:24 -0400 (EDT)
  • References: <200407191146.HAA09125@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I'd rather use Union instead of Intersection. The result appears in
canonical order.

Tomas Garza
Mexico City
----- Original Message ----- 
From: "Dr. Wolfgang Hintze" <weh at snafu.de>
To: mathgroup at smc.vnet.net
Subject: [mg49434] [mg49425] Return different values of a list


> Given a list containing repeating values like e.g.
>
> x={a,b,c,a,c}
>
> I would like to produce a list containing each element just once
> i.e.
>
> y={a,b,c}
>
> What is the easiest way to accomplish this?
>
> Wolfgang
>
>



  • Prev by Date: Re: help plot matrix
  • Next by Date: Re: Return different values of a list
  • Previous by thread: Return different values of a list
  • Next by thread: Re: Return different values of a list