Rewriting $left[begin{array}{c} I_notimes e_1\ vdots \ I_n otimes e_T end{array}right]$












0














Is there a way to rewrite the matrix below using operations like $vec$, $otimes$, etc?



$left[begin{array}{c}
I_notimes e_1\
vdots \
I_n otimes e_T end{array}right]$



$e_i$ is the $i$-th column of the matrix $I_T$, $otimes$ is the Kronecker product.



I need to rewrite this matrix to make it faster to work with when programming.










share|cite|improve this question



























    0














    Is there a way to rewrite the matrix below using operations like $vec$, $otimes$, etc?



    $left[begin{array}{c}
    I_notimes e_1\
    vdots \
    I_n otimes e_T end{array}right]$



    $e_i$ is the $i$-th column of the matrix $I_T$, $otimes$ is the Kronecker product.



    I need to rewrite this matrix to make it faster to work with when programming.










    share|cite|improve this question

























      0












      0








      0







      Is there a way to rewrite the matrix below using operations like $vec$, $otimes$, etc?



      $left[begin{array}{c}
      I_notimes e_1\
      vdots \
      I_n otimes e_T end{array}right]$



      $e_i$ is the $i$-th column of the matrix $I_T$, $otimes$ is the Kronecker product.



      I need to rewrite this matrix to make it faster to work with when programming.










      share|cite|improve this question













      Is there a way to rewrite the matrix below using operations like $vec$, $otimes$, etc?



      $left[begin{array}{c}
      I_notimes e_1\
      vdots \
      I_n otimes e_T end{array}right]$



      $e_i$ is the $i$-th column of the matrix $I_T$, $otimes$ is the Kronecker product.



      I need to rewrite this matrix to make it faster to work with when programming.







      linear-algebra






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 13 '18 at 15:52









      An old man in the sea.

      1,62211032




      1,62211032






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Is your goal to compute matrix-vector products involving this matrix? If this is the case, you could restructure the computation as follows. We have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x
          = begin{bmatrix}(I_n otimes e_1)x newline (I_n otimes e_2)x newline vdots newline (I_n otimes e_T)x end{bmatrix}.$$



          Using e.g. equation (2) from the Van Loan paper "The ubiquitous Kronecker product" from 2000, we can write $(I_n otimes e_i) x = text{vec}(e_i x^top)$ for each $i$. We therefore have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x =
          begin{bmatrix}
          text{vec}(e_1 x^top) newline text{vec}(e_2 x^top) newline vdots newline text{vec}(e_T x^top)
          end{bmatrix}.$$

          This avoids having to form the full Kronecker product.



          That Van Loan paper I cited above contains lots of useful information about Kronecker products if you deal with them a lot.






          share|cite|improve this answer





















          • Thanks OtZman ;)
            – An old man in the sea.
            Dec 21 '18 at 8:41










          • If you're insterested ;) math.stackexchange.com/questions/3048304/…
            – An old man in the sea.
            Dec 21 '18 at 8:45











          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: "69"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2996896%2frewriting-left-beginarrayc-i-n-otimes-e-1-vdots-i-n-otimes-e-t-en%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Is your goal to compute matrix-vector products involving this matrix? If this is the case, you could restructure the computation as follows. We have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x
          = begin{bmatrix}(I_n otimes e_1)x newline (I_n otimes e_2)x newline vdots newline (I_n otimes e_T)x end{bmatrix}.$$



          Using e.g. equation (2) from the Van Loan paper "The ubiquitous Kronecker product" from 2000, we can write $(I_n otimes e_i) x = text{vec}(e_i x^top)$ for each $i$. We therefore have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x =
          begin{bmatrix}
          text{vec}(e_1 x^top) newline text{vec}(e_2 x^top) newline vdots newline text{vec}(e_T x^top)
          end{bmatrix}.$$

          This avoids having to form the full Kronecker product.



          That Van Loan paper I cited above contains lots of useful information about Kronecker products if you deal with them a lot.






          share|cite|improve this answer





















          • Thanks OtZman ;)
            – An old man in the sea.
            Dec 21 '18 at 8:41










          • If you're insterested ;) math.stackexchange.com/questions/3048304/…
            – An old man in the sea.
            Dec 21 '18 at 8:45
















          1














          Is your goal to compute matrix-vector products involving this matrix? If this is the case, you could restructure the computation as follows. We have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x
          = begin{bmatrix}(I_n otimes e_1)x newline (I_n otimes e_2)x newline vdots newline (I_n otimes e_T)x end{bmatrix}.$$



          Using e.g. equation (2) from the Van Loan paper "The ubiquitous Kronecker product" from 2000, we can write $(I_n otimes e_i) x = text{vec}(e_i x^top)$ for each $i$. We therefore have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x =
          begin{bmatrix}
          text{vec}(e_1 x^top) newline text{vec}(e_2 x^top) newline vdots newline text{vec}(e_T x^top)
          end{bmatrix}.$$

          This avoids having to form the full Kronecker product.



          That Van Loan paper I cited above contains lots of useful information about Kronecker products if you deal with them a lot.






          share|cite|improve this answer





















          • Thanks OtZman ;)
            – An old man in the sea.
            Dec 21 '18 at 8:41










          • If you're insterested ;) math.stackexchange.com/questions/3048304/…
            – An old man in the sea.
            Dec 21 '18 at 8:45














          1












          1








          1






          Is your goal to compute matrix-vector products involving this matrix? If this is the case, you could restructure the computation as follows. We have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x
          = begin{bmatrix}(I_n otimes e_1)x newline (I_n otimes e_2)x newline vdots newline (I_n otimes e_T)x end{bmatrix}.$$



          Using e.g. equation (2) from the Van Loan paper "The ubiquitous Kronecker product" from 2000, we can write $(I_n otimes e_i) x = text{vec}(e_i x^top)$ for each $i$. We therefore have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x =
          begin{bmatrix}
          text{vec}(e_1 x^top) newline text{vec}(e_2 x^top) newline vdots newline text{vec}(e_T x^top)
          end{bmatrix}.$$

          This avoids having to form the full Kronecker product.



          That Van Loan paper I cited above contains lots of useful information about Kronecker products if you deal with them a lot.






          share|cite|improve this answer












          Is your goal to compute matrix-vector products involving this matrix? If this is the case, you could restructure the computation as follows. We have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x
          = begin{bmatrix}(I_n otimes e_1)x newline (I_n otimes e_2)x newline vdots newline (I_n otimes e_T)x end{bmatrix}.$$



          Using e.g. equation (2) from the Van Loan paper "The ubiquitous Kronecker product" from 2000, we can write $(I_n otimes e_i) x = text{vec}(e_i x^top)$ for each $i$. We therefore have
          $$begin{bmatrix}I_n otimes e_1 newline I_n otimes e_2 newline vdots newline I_n otimes e_Tend{bmatrix} x =
          begin{bmatrix}
          text{vec}(e_1 x^top) newline text{vec}(e_2 x^top) newline vdots newline text{vec}(e_T x^top)
          end{bmatrix}.$$

          This avoids having to form the full Kronecker product.



          That Van Loan paper I cited above contains lots of useful information about Kronecker products if you deal with them a lot.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 19 '18 at 3:35









          OtZman

          814




          814












          • Thanks OtZman ;)
            – An old man in the sea.
            Dec 21 '18 at 8:41










          • If you're insterested ;) math.stackexchange.com/questions/3048304/…
            – An old man in the sea.
            Dec 21 '18 at 8:45


















          • Thanks OtZman ;)
            – An old man in the sea.
            Dec 21 '18 at 8:41










          • If you're insterested ;) math.stackexchange.com/questions/3048304/…
            – An old man in the sea.
            Dec 21 '18 at 8:45
















          Thanks OtZman ;)
          – An old man in the sea.
          Dec 21 '18 at 8:41




          Thanks OtZman ;)
          – An old man in the sea.
          Dec 21 '18 at 8:41












          If you're insterested ;) math.stackexchange.com/questions/3048304/…
          – An old man in the sea.
          Dec 21 '18 at 8:45




          If you're insterested ;) math.stackexchange.com/questions/3048304/…
          – An old man in the sea.
          Dec 21 '18 at 8:45


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2996896%2frewriting-left-beginarrayc-i-n-otimes-e-1-vdots-i-n-otimes-e-t-en%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          AnyDesk - Fatal Program Failure

          How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

          Актюбинская область