Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Occurrences in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106391] Re: [mg106350] Occurrences in Mathematica
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Mon, 11 Jan 2010 05:31:32 -0500 (EST)
  • References: <201001100828.DAA05428@smc.vnet.net>

Try this:

Select[BinLists[{yourlist}],Length[#]==1&]

Best,

Harvey

-----Original Message-----
From: George [mailto:gtatishvili at gmail.com]
Sent: Sunday, January 10, 2010 3:29 AM
To: mathgroup at smc.vnet.net
Subject: [mg106391] [mg106350] Occurrences in Mathematica

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



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