Simple list merging question

The name of the pictureThe name of the pictureThe name of the pictureClash 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]






share|improve this question
























    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]






    share|improve this question






















      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]






      share|improve this question












      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]








      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 4 at 3:33









      CalvinDale

      1694




      1694




















          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







          share|improve this answer






















            Your Answer




            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "387"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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







            share|improve this answer


























              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







              share|improve this answer
























                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







                share|improve this answer














                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








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 4 at 5:24

























                answered Sep 4 at 3:40









                kglr

                159k8183382




                159k8183382



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery