Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: joining lists.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23791] Re: joining lists.
  • From: "Seth Chandler" <SChandler at uh.edu>
  • Date: Sat, 10 Jun 2000 02:59:41 -0400 (EDT)
  • Organization: University of Houston
  • References: <8hff2o$ht9@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

The function you need is the List function itself.

List[list1,list2]


Seth J. Chandler


"Otto Linsuain" <linsuain+ at andrew.cmu.edu> wrote in message
news:8hff2o$ht9 at smc.vnet.net...
>
>     hi all, this should be simple.
>
>     I got:
>
>     list1={ some numbers }
>
>     list2={ some other numbers }
>
>     Append[list1,list2] gives me { some numbers, { some other numbers } }
>
>     Join[list1,list2]   gives me { some numbers, some other numbers }
>
>     I want { { some numbers }, { some other numbers } }
>
>
>     Actually I have found that:
>
>     Join[{list1},{list2}] does what I want but I don't find it very
elegant.
>
>     I can live with the lack of elegance, but I wonder if there is some
> other function or construction (for joining lists) that I am not aware
> of.
>
>     Thanks in advance. Otto Linsuain.
>




  • Prev by Date: Re: NDSolve error message: Can't find starting value ...
  • Next by Date: Re: joining lists.
  • Previous by thread: Re: joining lists.
  • Next by thread: Re: joining lists.