Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: List Operation ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40229] Re: List Operation ?
  • From: "Carl K. Woll" <carlw at u.washington.edu>
  • Date: Wed, 26 Mar 2003 02:44:41 -0500 (EST)
  • Organization: University of Washington
  • References: <b5qct7$blp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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 ?