Timeline for List structure transformation
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26 at 4:44 | answer | added | Syed | timeline score: 0 | |
Jan 26 at 1:57 | answer | added | E. Chan-López | timeline score: 1 | |
Jan 26 at 0:15 | answer | added | eldo | timeline score: 1 | |
Nov 15, 2016 at 13:18 | vote | accept | Αλέξανδρος Ζεγγ | ||
Nov 15, 2016 at 13:18 | vote | accept | Αλέξανδρος Ζεγγ | ||
Nov 15, 2016 at 13:18 | |||||
Nov 15, 2016 at 13:18 | vote | accept | Αλέξανδρος Ζεγγ | ||
Nov 15, 2016 at 13:18 | |||||
Nov 13, 2016 at 22:01 | answer | added | Michael E2 | timeline score: 2 | |
Nov 13, 2016 at 20:34 | answer | added | corey979 | timeline score: 1 | |
Nov 13, 2016 at 17:00 | answer | added | kglr | timeline score: 7 | |
Nov 13, 2016 at 16:43 | answer | added | m_goldberg | timeline score: 2 | |
Nov 13, 2016 at 15:40 | answer | added | Mike Colacino | timeline score: 2 | |
Nov 13, 2016 at 11:32 | review | Close votes | |||
Nov 13, 2016 at 16:43 | |||||
Nov 13, 2016 at 11:31 | answer | added | Jose Enrique Calderon | timeline score: 5 | |
Nov 13, 2016 at 11:21 | comment | added | ubpdqn | @Feyre I guess it depends on aim and exact input...both work :) | |
Nov 13, 2016 at 11:19 | comment | added | Feyre |
@ubpdqn I was sure Join[] was going to be quicker, turns out I was wrong :/. Your first comment is the most efficient of all of these.
|
|
Nov 13, 2016 at 11:17 | comment | added | ubpdqn |
just because I like Reap /Sow : Last@Reap[Sow @@ {{x, y}, {a, b, c, d, e}}, _, Append[#2[[1]], #1] &]
|
|
Nov 13, 2016 at 11:14 | comment | added | Feyre |
Join[p, {#}] & /@ q
|
|
Nov 13, 2016 at 11:11 | comment | added | Marius Ladegård Meyer |
First[Outer[Flatten@*List, {#1}, #2, 1, 2] & @@ {{x, y}, {a, b, c, d, e}}]
|
|
Nov 13, 2016 at 11:11 | comment | added | corey979 |
Outer[Join, {p}, Partition[q, 1], 1, 1][[1]]
|
|
Nov 13, 2016 at 11:06 | comment | added | ubpdqn |
{p, q} = {{x, y}, {a, b, c, d, e}}; Append[p, #] & /@ q
|
|
Nov 13, 2016 at 10:54 | history | asked | Αλέξανδρος Ζεγγ | CC BY-SA 3.0 |