Simple list merging question
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
Another newbie question. I'm trying to figure out how to produce rr
given dd
and hh
:
dd = a, b, c, d, e, f, g, h;
hh = x, y;
rr = x, x, y, y, a, b, c, d, e, f, g, h;
Grid[dd, Frame -> All], Grid[hh, Frame -> All], Grid[rr, Frame -> All]
list-manipulation
add a comment |Â
up vote
4
down vote
favorite
Another newbie question. I'm trying to figure out how to produce rr
given dd
and hh
:
dd = a, b, c, d, e, f, g, h;
hh = x, y;
rr = x, x, y, y, a, b, c, d, e, f, g, h;
Grid[dd, Frame -> All], Grid[hh, Frame -> All], Grid[rr, Frame -> All]
list-manipulation
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Another newbie question. I'm trying to figure out how to produce rr
given dd
and hh
:
dd = a, b, c, d, e, f, g, h;
hh = x, y;
rr = x, x, y, y, a, b, c, d, e, f, g, h;
Grid[dd, Frame -> All], Grid[hh, Frame -> All], Grid[rr, Frame -> All]
list-manipulation
Another newbie question. I'm trying to figure out how to produce rr
given dd
and hh
:
dd = a, b, c, d, e, f, g, h;
hh = x, y;
rr = x, x, y, y, a, b, c, d, e, f, g, h;
Grid[dd, Frame -> All], Grid[hh, Frame -> All], Grid[rr, Frame -> All]
list-manipulation
asked Sep 4 at 3:33
CalvinDale
1694
1694
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Join[#, # & /@ hh, dd]
x, x, y, y, a, b, c, d, e, f, g, h
Also:
Join[Transpose[hh, hh], dd]
x, x, y, y, a, b, c, d, e, f, g, h
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Join[#, # & /@ hh, dd]
x, x, y, y, a, b, c, d, e, f, g, h
Also:
Join[Transpose[hh, hh], dd]
x, x, y, y, a, b, c, d, e, f, g, h
add a comment |Â
up vote
4
down vote
accepted
Join[#, # & /@ hh, dd]
x, x, y, y, a, b, c, d, e, f, g, h
Also:
Join[Transpose[hh, hh], dd]
x, x, y, y, a, b, c, d, e, f, g, h
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Join[#, # & /@ hh, dd]
x, x, y, y, a, b, c, d, e, f, g, h
Also:
Join[Transpose[hh, hh], dd]
x, x, y, y, a, b, c, d, e, f, g, h
Join[#, # & /@ hh, dd]
x, x, y, y, a, b, c, d, e, f, g, h
Also:
Join[Transpose[hh, hh], dd]
x, x, y, y, a, b, c, d, e, f, g, h
edited Sep 4 at 5:24
answered Sep 4 at 3:40
kglr
159k8183382
159k8183382
add a comment |Â
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f181181%2fsimple-list-merging-question%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password