MathGroup Archive 2003

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

Search the Archive

Re: List Operation ?


Hi Sunil,

The method I like uses All as follows:

list2=list1[[All,{1,2,4}]]

Carl Woll
Physics Dept
U of Washington

"Sunil Jayatilleke" <sunilj at physics.uc.edu> wrote in message
news:b5qct7$blp$1 at smc.vnet.net...
>
>
> I have a list as follows
>
> list1 =
{{a1,b1,c1,d1,e1,f1},{a2,b2,c2,d2,e2,f2},{............}.............}
>
> Now I want to do the following
>
> list2 ={{a1,b1,d1},{a2,b2,d2}......................}
>
> How can I do that ?
>
> thanks
>
> SJ
>
>




  • Prev by Date: Re: List Operation ?
  • Next by Date: Re: Q: About Needs[] and something about Contexts
  • Previous by thread: Re: List Operation ?
  • Next by thread: Re: List Operation ?