Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Or in a Select question

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

Hello

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
elements.

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