MathGroup Archive 2004

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

Search the Archive

Select from a list


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