MathGroup Archive 2006

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

Search the Archive

Re: Or in a Select question


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