MathGroup Archive 2010

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

Search the Archive

Re: Occurrences in Mathematica


George schrieb:
> Hi,
> 
> I have a very big list of elements and I need Mathematica to give me
> only those elements which occure only once...
> 
> Could anybody advise me please how to write the code for that?
> 
> Thks much
> George
> 

oops I forgot: Cases[Tally[theList],{x_,1}:>x,1]



  • Prev by Date: Re: Occurrences in Mathematica
  • Next by Date: Re: Occurrences in Mathematica
  • Previous by thread: Re: Occurrences in Mathematica
  • Next by thread: Re: Occurrences in Mathematica