Does anybody know why something like e.g.
Pick[{c, l, s}, {2, 0, 5}, Except[0]]
does not work?
And by ‘does not work’ I mean that it returns {c,l,s} when it should have returned {c,s} (right?).
Is it a bug or is it a feature?
Does anybody know why something like e.g.
Pick[{c, l, s}, {2, 0, 5}, Except[0]]
does not work?
And by ‘does not work’ I mean that it returns {c,l,s} when it should have returned {c,s} (right?).
Is it a bug or is it a feature?
Pick[{c,l,s},{2,0,5},Except[0,_Integer]]
works. See the link
f](Redirecting to Google Groups)or a long discussion of the details of Pick. Others may have a diffferent method and there may be new bits I am not aware of.
ok, it makes some sense-thanks!