Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

How do you parse a n element list into a 2 by (n/2) array?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4167] How do you parse a n element list into a 2 by (n/2) array?
  • From: welter at .ti.com (Jason Welter)
  • Date: Sat, 8 Jun 1996 13:25:50 -0400
  • Organization: Texas Instruments
  • Sender: owner-wri-mathgroup at wolfram.com

I have a list say,

{1,2,3,4,5,6}

and want to transform it to:

{{1,2},{3,4},{5,6}}

I know it's possible but I don't remember how.


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Notebook printing on unix?
  • Next by Date: Re: Mma 2.2.3 / Win95 - PROBLEM
  • Previous by thread: Re: Functional programming
  • Next by thread: Re: How do you parse a n element list into a 2 by (n/2) array?