MathGroup Archive 2008

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

Search the Archive

Identical elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88374] Identical elements
  • From: KFUPM <hussain.alqahtani at gmail.com>
  • Date: Sat, 3 May 2008 06:17:02 -0400 (EDT)

Dear All

I have a list  and i need to test whether all the elements in the list
are identical or no. What is the efficient way to do that? The output
should be true if all elements are the same and False otherwise. One
line command is preferred if possible.

Your help is highly appreciated.

Regards,

HMQ


  • Prev by Date: Fit data with range
  • Next by Date: orthonormal eigenvectors
  • Previous by thread: Re: Fit data with range
  • Next by thread: Re: Identical elements