Cases
- To: mathgroup at smc.vnet.net
- Subject: [mg50423] Cases
- From: "Blimbaum, Jerry AA R22" <jerry.blimbaum at navy.mil>
- Date: Fri, 3 Sep 2004 03:35:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Given: x = {a,b,c,d,d}; Applying Cases[x,d] gives an output of {a,b,c}...... However, Cases[x,Not[d]] gives as output an empty list { }... I expected {a,b,c}..... Why didnt I get that? This issue came up when using Thread on vectors...and in some cases the Thread resulted in 0 == 0 so it's output in the list was True....and I wanted to remove them.... thanks.....jerry blimbaum
- Follow-Ups:
- Re: Cases
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Cases