MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: List Manipulation



Paul.Hanson@colorado.edu wrote:
> 
> 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
> 
> --
>                                  * *
>                                 *    *
>                            /\    */\*
>                           /  \   /  \ /\


have you tried Table[list[[2 n]],{n,1,whatever}]? -- 
Remove the _nospam_ in the return address to respond.



  • Prev by Date: Re: Left and right quotes
  • Next by Date: Re: lists
  • Prev by thread: List Manipulation
  • Next by thread: Re: List Manipulation