MathGroup Archive 2005

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

Search the Archive

Re: logical indexing using more than one variable in a pure function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53365] Re: logical indexing using more than one variable in a pure function
  • From: "Ray Koopman" <koopman at sfu.ca>
  • Date: Sat, 8 Jan 2005 02:39:33 -0500 (EST)
  • References: <crkue3$akd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In my previous post I missed the "obvious" solution":
In[6]:= x[[Flatten@Position[y,True]]]
Out[6]= {2,5,6}


  • Prev by Date: Re: global assumptions?? How far can I go?
  • Next by Date: Simplify Polynomials with Factor / FullSimplify
  • Previous by thread: logical indexing using more than one variable in a pure function
  • Next by thread: Re: logical indexing using more than one variable in a pure function