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

Select from a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49856] Select from a list
  • From: Feng-Yin Chang <fychang at slac.stanford.edu>
  • Date: Wed, 4 Aug 2004 10:46:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi everyone,

   Does anyone have an idea to drop the repeating elements in one list?
   The list was built in sequence,fortunately.

   for example,
   from a={1,1,2,2,4,6,6,8,8,9}
   to a1={1,2,4,6,8,9}


  The purpose is to avoid the one-to-many mapping problem in my case.

Feng-Yin Chang,
Institute of Physics,NCTU,Taiwan


  • Prev by Date: ReadListBinary question
  • Next by Date: Recursion depth
  • Previous by thread: Re: ReadListBinary question
  • Next by thread: Re: Select from a list