Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

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

Search the Archive

Re: Parenthesis reduction

  • To: mathgroup at
  • Subject: [mg126928] Re: Parenthesis reduction
  • From: awnl <awnl at>
  • Date: Mon, 18 Jun 2012 05:44:27 -0400 (EDT)
  • Delivered-to:
  • References: <jrlfoa$c2s$>


> Which command should one use to get
> 	{a, b, c}, {d, e, f}, {g, h, i}

stricktly speaking this is not a valid mathematica expression, so it 
can't be done. But...

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

... you most probably want Sequence, which will create something that 
you can pass to a function:

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

argseq = Sequence@@arglist;


of course you can also directly "Apply" (@@ is the shortcut for "Apply") 
the function to the list of arguments:




  • Prev by Date: Re: Export points 3D plots
  • Next by Date: Re: Parenthesis reduction
  • Previous by thread: Re: Parenthesis reduction
  • Next by thread: Re: Parenthesis reduction