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 > >
- References:
- Return different values of a list
- From: "Dr. Wolfgang Hintze" <weh@snafu.de>
- Return different values of a list