MathGroup Archive 2006

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

Search the Archive

Re: Or in a Select question

  • To: mathgroup at
  • Subject: [mg67098] Re: Or in a Select question
  • From: "Norbert Marxer" <marxer at>
  • Date: Fri, 9 Jun 2006 01:08:14 -0400 (EDT)
  • References: <e68q6i$d0p$>
  • Sender: owner-wri-mathgroup at


If you use And (&&) instead of Or (||) in

   Select[pp,#1[[1,1]] =!= #1[[1,2]] || #1[[2,1]] =!= #1[[2, 2]] & ]

you will get only the elements where both sublists contain different

I assume that is what you want.

Best Regards
Norbert Marxer

  • Prev by Date: Re: Plotting Cosh(x)?
  • Next by Date: Simple question from a biologist
  • Previous by thread: Re: Or in a Select question
  • Next by thread: standard errors and confidence intervals in NonlinearRegress