Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3327
| From | "Harvey P. Dale" <hpd1@nyu.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How can I concatenate elements |
| Date | 2011-06-26 21:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iu88rk$7cl$1@smc.vnet.net> (permalink) |
| References | <201106250928.FAA20229@smc.vnet.net> |
Leandro:
SortBy[Tuples[{s1,s2}],Last]
Best,
Harvey
-----Original Message-----
From: Leandro Tenfen [mailto:leandrotenfen@hotmail.com]
Sent: Saturday, June 25, 2011 5:29 AM
Subject: How can I concatenate elements
Hi,
I have two lists:
s1={1,2,3,4,5,6};
s2={c,k};
How can I concatenate elements of lists as follows:
s3={1c,2c,3c,4c,5c,6c,1k,2k,3k,4k,5k,6k}
Many Thanks!
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How can I concatenate elements "Harvey P. Dale" <hpd1@nyu.edu> - 2011-06-26 21:37 +0000
csiph-web