MathGroup Archive 2005

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

Search the Archive

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


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