Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10526

Re: Parenthesis reduction

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Parenthesis reduction
Date 2012-06-18 09:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jrmt9t$h2u$1@smc.vnet.net> (permalink)
References <jrlfoa$c2s$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Parenthesis reduction "Mat' G\." <ellocomateo@free.fr> - 2012-06-17 20:47 +0000
  Re: Parenthesis reduction awnl <awnl@gmx-topmail.de> - 2012-06-18 09:46 +0000
  Re: Parenthesis reduction Yves Klett <yves.klett@googlemail.com> - 2012-06-18 09:48 +0000
    Re: Parenthesis reduction "Nasser M. Abbasi" <nma@12000.org> - 2012-06-19 07:14 +0000
      Re: Parenthesis reduction John Doty <noqsiaerospace@gmail.com> - 2012-06-20 07:52 +0000
  Re: Parenthesis reduction David Bailey <dave@removedbailey.co.uk> - 2012-06-18 09:49 +0000
  Re: Parenthesis reduction David Reiss <dbreiss@gmail.com> - 2012-06-18 09:43 +0000
  Re: Parenthesis reduction "Nasser M. Abbasi" <nma@12000.org> - 2012-06-18 09:44 +0000

csiph-web