MathGroup Archive 2003

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

Search the Archive

Re: Q: lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40065] Re: [mg40063] Q: lists
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Tue, 18 Mar 2003 05:49:43 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Presumably you mean:

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

since


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

just evaluates to
{81,24}???

If that is what you men than the simplest method is surely just:


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

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

Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/


On Tuesday, March 18, 2003, at 04:21  pm, Dick Barends wrote:

> 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
>
>
>
>
>



  • Prev by Date: Re: UnitStep
  • Next by Date: Re: Q: lists
  • Previous by thread: Re: Q: lists
  • Next by thread: Re: Q: lists