MathGroup Archive 2006

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

Search the Archive

Re: List Manipulation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63489] Re: [mg63478] List Manipulation
  • From: Adriano Pascoletti <pascolet at dimi.uniud.it>
  • Date: Tue, 3 Jan 2006 01:24:41 -0500 (EST)
  • References: <200601021049.FAA01354@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[4]:=
MapThread[Join[#1,#2]&,{list1,list2}]

Out[4]=
{{a,b,c,d,1},{e,f,g,h,2}}

Adriano Pascoletti

Il giorno 2 gen 2006, alle ore 11:49, LectorZ ha scritto:

> Hi guys,
>
> One simple question to list manipulation.
>
> I have 2 lists
>
> list1 = {{a,b,c,d},{e,f,g,h}}
> list2 = {{1},{2}}
>
> Which function(s) should I use to get
>
> list3 = {{a,b,c,d,1},{e,f,g,h,2}}
>
> Thanx in advance
>
> LZ
>


  • Prev by Date: Re: List Manipulation
  • Next by Date: Re: List Manipulation
  • Previous by thread: Re: List Manipulation
  • Next by thread: Re: List Manipulation