<?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 rotg and rot example in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rotg-and-rot-example/m-p/773450#M811</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Can anyone point me to examples for using BLAS rotg together with rot? I think I understand rotg but not rot (applying the transformation) so well.&lt;BR /&gt;&lt;BR /&gt;Basically I have a matrix A and its QR in compact LAPACK form. Now I add a row of ones to A and need to eliminate them. So the R would be e.g. 4x4 -&amp;gt; 5x4&lt;BR /&gt;&lt;BR /&gt;x x x x&lt;BR /&gt;0 x x x&lt;BR /&gt;0 0 x x&lt;BR /&gt;0 0 0 x&lt;BR /&gt;1 1 1 1&lt;BR /&gt;&lt;BR /&gt;use rotg to rotate x_11 with 1, get r1, z1, c1, s1&lt;BR /&gt;use rotg to rotate x_22 with 1, get r2, z2, c2, s2&lt;BR /&gt;use rotg to rotate x_33 with 1, get r3, z3, c3, s3&lt;BR /&gt;use rotg to rotate x_44 with 1, get r4, z4, c4, s4&lt;BR /&gt;&lt;BR /&gt;At this point I need to apply the rotation transformation on a new vector c of dimension e.g. 5x1 using rot and this is what is not clear to me. The vector c is in the context of solving an overdetermined linear system Ax=b process where I do:&lt;BR /&gt;&lt;BR /&gt;1) dormqr apply previously existing QR to b i.e. Q'*b=c&lt;BR /&gt;2) apply rotations using rot to c and get H1*H2*H3*H4*c=c' ... how to do this? any way to bundle them all together?&lt;BR /&gt;3) do the usual right substitution R*x = c'&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Best regards,&lt;BR /&gt;Giovanni&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Apr 2012 15:28:00 GMT</pubDate>
    <dc:creator>Azua_Garcia__Giovann</dc:creator>
    <dc:date>2012-04-12T15:28:00Z</dc:date>
    <item>
      <title>rotg and rot example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rotg-and-rot-example/m-p/773450#M811</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Can anyone point me to examples for using BLAS rotg together with rot? I think I understand rotg but not rot (applying the transformation) so well.&lt;BR /&gt;&lt;BR /&gt;Basically I have a matrix A and its QR in compact LAPACK form. Now I add a row of ones to A and need to eliminate them. So the R would be e.g. 4x4 -&amp;gt; 5x4&lt;BR /&gt;&lt;BR /&gt;x x x x&lt;BR /&gt;0 x x x&lt;BR /&gt;0 0 x x&lt;BR /&gt;0 0 0 x&lt;BR /&gt;1 1 1 1&lt;BR /&gt;&lt;BR /&gt;use rotg to rotate x_11 with 1, get r1, z1, c1, s1&lt;BR /&gt;use rotg to rotate x_22 with 1, get r2, z2, c2, s2&lt;BR /&gt;use rotg to rotate x_33 with 1, get r3, z3, c3, s3&lt;BR /&gt;use rotg to rotate x_44 with 1, get r4, z4, c4, s4&lt;BR /&gt;&lt;BR /&gt;At this point I need to apply the rotation transformation on a new vector c of dimension e.g. 5x1 using rot and this is what is not clear to me. The vector c is in the context of solving an overdetermined linear system Ax=b process where I do:&lt;BR /&gt;&lt;BR /&gt;1) dormqr apply previously existing QR to b i.e. Q'*b=c&lt;BR /&gt;2) apply rotations using rot to c and get H1*H2*H3*H4*c=c' ... how to do this? any way to bundle them all together?&lt;BR /&gt;3) do the usual right substitution R*x = c'&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Best regards,&lt;BR /&gt;Giovanni&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/rotg-and-rot-example/m-p/773450#M811</guid>
      <dc:creator>Azua_Garcia__Giovann</dc:creator>
      <dc:date>2012-04-12T15:28:00Z</dc:date>
    </item>
  </channel>
</rss>

