MathGroup Archive 2004

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

Search the Archive

Select from a list

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

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