MathGroup Archive 2012

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

Search the Archive

Re: Parenthesis reduction


{a, b, c}, {d, e, f}, {g, h, i} would not be a valid Mathematica expression, it needs some sort of Head (container). What you probably mean is something like,
Apply[f,{{a, b, c}, {d, e, f}, {g, h, i}}] or equivalently
f@@ {{a, b, c}, {d, e, f}, {g, h, i}} where f is some function name.

The Apply replaces the top level List head with another Head of your choice.
Gerry F.



On 6/17/2012 3:59 AM, 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}}
> ?
>
>
>




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