Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8529

Re: List Manipulation

From "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: List Manipulation
Date 2012-02-14 11:37 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhdh1s$h9d$1@smc.vnet.net> (permalink)
References <201202111136.GAA16379@smc.vnet.net> <jh832q$olt$1@smc.vnet.net>

Show all headers | View raw


In[4]:= Join @@
 Thread /@ Thread@{{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}}

Out[4]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

In[6]:= Transpose[{{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}}] // Flatten

Out[6]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

In[7]:= Riffle[{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}]

Out[7]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

Sincerely

    E. Stelzer

Prof. Dr. Ernst H.K. Stelzer
Physikalische Biologie/Physical Biology (FB 15, IZN)
Buchmann Institute for Molecular Life Sciences (FMLS, CEF-MC)
Goethe Universit=E4t Frankfurt am Main (Campus Riedberg)
Max-von-Laue Strasse 15
D-60438 Frankfurt am Main, Germany

Tel   +49 (69) 798 42547, x42555, x42544
Fax   +49 (69) 798 42546
Mob +49 (170) 6357 168

http://www.fmls-institute.de http://www.uni-frankfurt.de
http://www.researcherid.com/rid/A-7648-2011
ernst.stelzer@physikalischebiologie.de
stelzer@bio.uni-frankfurt.de

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: List Manipulation Bob Hanlon <hanlonr357@gmail.com> - 2012-02-12 10:08 +0000
  Re: List Manipulation Murta <rodrigomurtax@gmail.com> - 2012-02-13 08:41 +0000
  Re: List Manipulation Murta <rodrigomurtax@gmail.com> - 2012-02-13 08:41 +0000
  Re: List Manipulation "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> - 2012-02-14 11:37 +0000

csiph-web