Re: Parts of a list
- To: mathgroup at smc.vnet.net
- Subject: [mg15485] Re: [mg15430] Parts of a list
- From: Rosa Maria Seco <ceie at df1.telmex.net.mx>
- Date: Mon, 18 Jan 1999 04:22:28 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Hossein:
DeleteCases[x,{_,0}]
Tomas Garza
Mexico City
Hossein Kazemi wrote:
>I have a list (matrix) that looks like this
>x={{1,0},{2.5, .5},{3,0},{0,2}}
>Now I want to eliminate those vectors that have zero for the second
>case. That is, I want to get
>{{2.5, .5},{0,2}}.
>Is there a quick way of doing this?