How to use Pick[]; Is this a bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg127671] How to use Pick[]; Is this a bug?
- From: benp84 at gmail.com
- Date: Tue, 14 Aug 2012 04:22:41 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
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]?
- Follow-Ups:
- Re: How to use Pick[]; Is this a bug?
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: How to use Pick[]; Is this a bug?