Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Parenthesis reduction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126924] Re: Parenthesis reduction
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Mon, 18 Jun 2012 05:43:04 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jrlfoa$c2s$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 6/17/2012 3:47 PM, Mat' G. wrote:
> Which command should one use to get
> 	{a, b, c}, {d, e, f}, {g, h, i}
> from
> 	{{a, b, c}, {d, e, f}, {g, h, i}}
> ?
>

I am confused by this question. In general, an
expression, is either a list or not a list.

So what is

         {a, b, c}, {d, e, f}, {g, h, i}

supposed to be? it is not a list. and it is not not a list
either. So, I do not know what it is.

Unless you asking for a much more basic question such
as using an idex to access an entry in a list?

lis={{a,b,c},{d,e,f},{g,h,i}}
lis[[1]]
lis[[2]]
lis[[3]]

Out[89]= {a,b,c}
Out[90]= {d,e,f}
Out[91]= {g,h,i}

--Nasser



  • Prev by Date: Re: Parenthesis reduction
  • Next by Date: Re: Parenthesis reduction
  • Previous by thread: Re: Parenthesis reduction
  • Next by thread: Re: Parenthesis reduction