Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8524 > unrolled thread
| Started by | "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> |
|---|---|
| First post | 2012-02-14 11:38 +0000 |
| Last post | 2012-02-14 11:38 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: List Manipulation "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> - 2012-02-14 11:38 +0000
| From | "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> |
|---|---|
| Date | 2012-02-14 11:38 +0000 |
| Subject | Re: List Manipulation |
| Message-ID | <jhdh3p$had$1@smc.vnet.net> |
Hi,
Generates the list but not sorted the way you want it
Inner[List, l1, l2,Sequence]
{{a,1},{b,4},{c,7},{a,2},{b,5},{c,8},{a,3},{b,6},{c,9}}
Your expected output in Mathematica Style
Sort[Inner[List, l1, l2,Sequence]]
{{a,1},{a,2},{a,3},{b,4},{b,5},{b,6},{c,7},{c,8},{c,9}}
Greetings
Ernst
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web