|
[Date Index]
[Thread Index]
[Author Index]
Re: Deleting duplicates from a list
- To: mathgroup at smc.vnet.net
- Subject: [mg76025] Re: [mg75940] Deleting duplicates from a list
- From: "Patrick Scheibe" <mai99dnn at studserv.uni-leipzig.de>
- Date: Tue, 15 May 2007 04:46:26 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <200705140725.DAA22641@smc.vnet.net>
Hi,
if you don't care about the order in your list, then you can use
Union[{8, 8, 11, 11, 19}]
and you will get an ordered List where all dublicates are removed.
Cheers
Patrick
Am 14.05.2007, 09:25 Uhr, schrieb Raul Martinez <raulmart at mac.com>:
> Hi all,
>
> I have a list, e.g., {8, 8, 11, 11, 19}. I want to eliminate all
> duplicates so the list becomes {8, 11, 19}. Can anyone suggest a
> command that will do this?
>
> TIA,
>
> Raul Martinez
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Prev by Date:
Re: Units package in v6
Next by Date:
Re: Compatibility woes
Previous by thread:
Re: Re: Deleting duplicates from a list
Next by thread:
Re: Deleting duplicates from a list
|