Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11326

How to use Pick[]; Is this a bug?

From benp84@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject How to use Pick[]; Is this a bug?
Date 2012-08-14 08:22 +0000
Message-ID <k0d1sm$lvc$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


In[1]:=  Pick[{1, 2, 3, 4, 5}, {9, 0, 7, 0, 6}, Except[0]]
Out[1]:= {1, 2, 3, 4, 5}

Shouldn't this return {1, 3, 5}, since these are the corresponding elements that match Except[0]?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to use Pick[]; Is this a bug? benp84@gmail.com - 2012-08-14 08:22 +0000
  Re: How to use Pick[]; Is this a bug? Peter Pein <petsie@dordos.net> - 2012-08-15 07:34 +0000
    Re: How to use Pick[]; Is this a bug? awnl <awnl@gmx-topmail.de> - 2012-08-22 07:54 +0000

csiph-web