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

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

Search the Archive

Re: Q: lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40078] Re: Q: lists
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Wed, 19 Mar 2003 03:22:25 -0500 (EST)
  • References: <b56hq4$c0g$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use Thread

Thread[{3,{1,2,3,4}}]

{{3,1},{3,2},{3,3},{3,4}}


Bob Hanlon

In article <b56hq4$c0g$1 at smc.vnet.net>, "Dick Barends" <dick.barends at wxs.nl>
wrote:

<< Subject:	Q: lists
From:		"Dick Barends" <dick.barends at wxs.nl>
To: mathgroup at smc.vnet.net
Date:		Tue, 18 Mar 2003 07:28:04 +0000 (UTC)

Hello,

I want to tranform the list below:

{3,{1,2,3,4}}

into

{3,1}{3,2}{3,3}{3,4}

How can I do this?

kind regards
Dick >><BR><BR>


  • Prev by Date: Cutting and pasting from help index
  • Next by Date: FILTERING
  • Previous by thread: Re: Q: lists
  • Next by thread: a challenge/problem.