Re: List Manipulation
- To: mathgroup@smc.vnet.net
- Subject: [mg10523] Re: [mg10471] List Manipulation
- From: Lou Talman <me@talmanl.mscd.edu>
- Date: Tue, 20 Jan 1998 02:23:10 -0500
If
A = {{N1},{N2},...,{Nm}}
with m even, then
First[Transpose[Partition[A, 2]]]
gives the desired list.
--Lou Talman
Begin forwarded message:
From: Paul.Hanson@colorado.edu
To: mathgroup@smc.vnet.net
Subject: [mg10523] [mg10471] List Manipulation Organization: University of
Colorado at Boulder
Hola!
Hope you're all doing well. If I have a list of n lists, and want to
get rid of all the even ones how would I go about doing this? That
is, {{n1},{n2},.....{2n}} converted to {{n1},{n3}...{2n-1}}. I tried
using the various procedures in Wolfram's book, but nothing seems to
work (ie, Delete, Take, etc.). Thanks for the help.
Paul Hanson
--
* *
* *
/\ */\*
/ \ / \ /\