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}