<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic real matrix -- eigenvector matrix R --  diagonal eigenvalue mat in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778030#M1230</link>
    <description>Many procedures of mathematics, in particular matrix operations, are inefficient if implemented on a computer in the most direct and elementary way. For example, the expression of the solution of A.x = b as x = A&lt;SUP&gt;-1&lt;/SUP&gt;b is fine in a mathematics book or a mathematical derivation. However, computing the inverse explicitly and then multiplying the vector b by the inverse takes twice the computational effort and is often going to give less accurate results than Gaussian elimination with partial pivoting.&lt;BR /&gt;&lt;BR /&gt;Multiplying two diagonal matrices of size n X n takes O(n) operations if done right, and O(n&lt;SUP&gt;3&lt;/SUP&gt;) operations if the full matrices are used in a MATMULT call.&lt;BR /&gt;&lt;BR /&gt;Please read a book such as Golub and van Loan's &lt;I&gt;Matrix Computations&lt;/I&gt;.There are also many good articles on this topic on the Web.&lt;BR /&gt;&lt;BR /&gt;For these reasons, I think that I would be doing you a disservice by telling you how to form a diagonal matrix from a vector containing the main diagonal. Not only is that trivial to do, but doing it is a temptation that I wish to help you avoid.</description>
    <pubDate>Thu, 24 Mar 2011 15:44:48 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2011-03-24T15:44:48Z</dc:date>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue matrix L</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778023#M1223</link>
      <description>Hi every one,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have the following problem:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have a real matrix A=nxn and I would like to compute theeigenvector matrix R and diagonal eigenvalue matrix L with mkl libraries.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I don't know what subroutine I could use.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have already useddgeev_f95 for other purpose but Id give to me vector and not matrix&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;thank a lot&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Mar 2011 17:09:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778023#M1223</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-03-22T17:09:48Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778024#M1224</link>
      <description>Diagonal matrices are rarely stored as full matrices, since that would waste a lot of memory. The routine GEEV returns two 1-D arrays containing the real and imaginary parts of the eigenvalues -- a real matrix, even a symmetric one, may have complex eigenvalues. It is trivial to place these eigenvalues on the diagonal of a zeroed-out square complex matrix.&lt;BR /&gt;&lt;BR /&gt;Please state if you know anything more about the matrix A, and explain why you found the output of GEEV unsatisfactory.</description>
      <pubDate>Tue, 22 Mar 2011 22:03:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778024#M1224</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-03-22T22:03:32Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778025#M1225</link>
      <description>hi,&lt;DIV&gt;ok, thanks for your help and advices.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The matrix A is a real matrix nxn&lt;/DIV&gt;&lt;DIV&gt;The GEEV gives to me the vector of eigenvalues, while I need the matrix of eigenvalues.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;this because I need to comute:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;Q= 0.5*R*(Id+sign(L-xi*Id))*iR*QL + 0.5*R*(Id-sign(L-xi*Id))*iR*QR;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;where Q is n vector,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;R is the eigenvector matrix    and&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;L is diagonal eigenvalue matrix.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;QR is n vector and QL is n vector.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Id is the nxn identity matrix.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;IR isthe inverse of the eigenvector matrix R&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Geev does not give me the L in matrix form.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;thanks a lot&lt;/DIV&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Mar 2011 12:06:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778025#M1225</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-03-24T12:06:13Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778026#M1226</link>
      <description>I think that you can compute Q quite easily using only the main diagonal held as a vector, but I must first ask you to clarify a couple of items.&lt;BR /&gt;&lt;BR /&gt; (i) xi is a scalar, yes?&lt;BR /&gt;&lt;BR /&gt; (ii) How is the function sign() defined when it operates on (a) a diagonal matrix and, if this is meaningful, (b) a vector?</description>
      <pubDate>Thu, 24 Mar 2011 12:56:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778026#M1226</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-03-24T12:56:08Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778027#M1227</link>
      <description>hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;i) xi is a scalar (my adimensinal coordinate)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ii) for example:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;L=  1.4142     0&lt;DIV id="_mcePaste"&gt;    0    -1.4142&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;then sign(L)=  1   0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;          0  -1&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Thanks a lot&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Mar 2011 13:07:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778027#M1227</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-03-24T13:07:43Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778028#M1228</link>
      <description>I am answering purely from an algorithmic viewpoint, since I do not know the application domain and how the matrices relate to anything physical or conceptual.&lt;BR /&gt;&lt;BR /&gt;Let M&lt;SUB&gt;1&lt;/SUB&gt; be a diagonal matrix, with elements &lt;BR /&gt;&lt;BR /&gt; &lt;SUB&gt;i&lt;/SUB&gt; = +1 if &lt;SUB&gt;i&lt;/SUB&gt; &amp;gt;  and 0 if &lt;SUB&gt;i&lt;/SUB&gt; &amp;lt; &lt;BR /&gt;&lt;BR /&gt;Let matrix S&lt;SUB&gt;1&lt;/SUB&gt; = R.M&lt;SUB&gt;1&lt;/SUB&gt;. You can compute column j of S&lt;SUB&gt;1&lt;/SUB&gt; by multiplying column j of R by &lt;SUB&gt;j&lt;/SUB&gt; . Then, you can compute the first part of the desired result q = q&lt;SUB&gt;1&lt;/SUB&gt; + q&lt;SUB&gt;2&lt;/SUB&gt; as&lt;BR /&gt;&lt;BR /&gt; q&lt;SUB&gt;1&lt;/SUB&gt; = S&lt;SUB&gt;1 &lt;/SUB&gt;R&lt;SUP&gt;-1 &lt;/SUP&gt;q L&lt;BR /&gt;&lt;BR /&gt;You can compute the second part q&lt;SUB&gt;2&lt;/SUB&gt; similarly, using M&lt;SUB&gt;2&lt;/SUB&gt; = the 1s-complement of M&lt;SUB&gt;1&lt;/SUB&gt; and qR in place of M&lt;SUB&gt;1&lt;/SUB&gt; and qL, respectively.&lt;BR /&gt;&lt;BR /&gt;Throughout what I wrote, you would compute the produce q L not as a vector-matrix product, but simply by multiplying each element of q by the corresponding  . That is, computing q L is an element-by-element product of two vectors, q and diag(L).&lt;BR /&gt;&lt;BR /&gt;Please check the equations, since some browsers may not display subscripts, etc. correctly. For example Firefox 3.16 does not show the inverse ("-1") in the equation for q1 correctly, but IE does.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Mar 2011 13:45:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778028#M1228</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-03-24T13:45:58Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778029#M1229</link>
      <description>Thank a lot but what I am doing is a very simple code to use lapack libraris in fortran95 and to use matrix annotation.&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;This because After that I use the some source code for a more complex problem.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;If I had L a could compute Q with somematmul function. this is the main reason because I ask for a different mls-lapack library, to compute&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;L as a11    0&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;     0  a22&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and not as L&lt;/DIV&gt;&lt;DIV&gt;a11&lt;/DIV&gt;&lt;DIV&gt;a22&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;what do you think about it?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Mar 2011 13:56:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778029#M1229</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-03-24T13:56:13Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778030#M1230</link>
      <description>Many procedures of mathematics, in particular matrix operations, are inefficient if implemented on a computer in the most direct and elementary way. For example, the expression of the solution of A.x = b as x = A&lt;SUP&gt;-1&lt;/SUP&gt;b is fine in a mathematics book or a mathematical derivation. However, computing the inverse explicitly and then multiplying the vector b by the inverse takes twice the computational effort and is often going to give less accurate results than Gaussian elimination with partial pivoting.&lt;BR /&gt;&lt;BR /&gt;Multiplying two diagonal matrices of size n X n takes O(n) operations if done right, and O(n&lt;SUP&gt;3&lt;/SUP&gt;) operations if the full matrices are used in a MATMULT call.&lt;BR /&gt;&lt;BR /&gt;Please read a book such as Golub and van Loan's &lt;I&gt;Matrix Computations&lt;/I&gt;.There are also many good articles on this topic on the Web.&lt;BR /&gt;&lt;BR /&gt;For these reasons, I think that I would be doing you a disservice by telling you how to form a diagonal matrix from a vector containing the main diagonal. Not only is that trivial to do, but doing it is a temptation that I wish to help you avoid.</description>
      <pubDate>Thu, 24 Mar 2011 15:44:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778030#M1230</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-03-24T15:44:48Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778031#M1231</link>
      <description>hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm sorry for delay. So what do you suggest for:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Q= 0.5*R*(Id+sign(L-xi*Id))*iR*QL + 0.5*R*(Id-sign(L-xi*Id))*iR*QR;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;to compute Q,&lt;/DIV&gt;&lt;DIV&gt;could I use some lapack libraries? or solve them in anothe way?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;thanks a lot&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Apr 2011 15:38:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778031#M1231</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-04-02T15:38:46Z</dc:date>
    </item>
    <item>
      <title>real matrix -- eigenvector matrix R --  diagonal eigenvalue mat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778032#M1232</link>
      <description>hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm sorry for delay. So what do you suggest for:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Q= 0.5*R*(Id+sign(L-xi*Id))*iR*QL + 0.5*R*(Id-sign(L-xi*Id))*iR*QR;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;to compute Q,&lt;/DIV&gt;&lt;DIV&gt;could I use some lapack libraries? or solve them in anothe way?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;thanks a lot&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Apr 2011 15:39:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/real-matrix-eigenvector-matrix-R-diagonal-eigenvalue-matrix-L/m-p/778032#M1232</guid>
      <dc:creator>diedro</dc:creator>
      <dc:date>2011-04-02T15:39:25Z</dc:date>
    </item>
  </channel>
</rss>

