<?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 Hi, Ying. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083521#M22893</link>
    <description>&lt;P&gt;Hi, Ying.&lt;/P&gt;

&lt;P&gt;Thank you for your answer.&lt;/P&gt;

&lt;P&gt;I understood this.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2016 06:30:11 GMT</pubDate>
    <dc:creator>Fedor_M_</dc:creator>
    <dc:date>2016-09-27T06:30:11Z</dc:date>
    <item>
      <title>MKL ?trexc function</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083519#M22891</link>
      <description>&lt;P&gt;Good day to all.&lt;/P&gt;

&lt;P&gt;I am a student. I'm doing matrix calculations.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There was a problem with using the&amp;nbsp;&lt;/SPAN&gt;?trexc&amp;nbsp;function of MKL that makes the reordering of Schur factorization&lt;/P&gt;

&lt;P&gt;In particular, with it's two last parameters:&amp;nbsp;&lt;SPAN class="kwd" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px; line-height: 18.2px;"&gt;lapack_int*&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="box-sizing: border-box; font-style: italic; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px; line-height: 18.2px;"&gt;ifst&lt;/SPAN&gt;&lt;SPAN class="sep" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px; line-height: 18.2px;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px; line-height: 18.2px;"&gt;lapack_int*&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="box-sizing: border-box; font-style: italic; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px; line-height: 18.2px;"&gt;ilst.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I can't understand, how to makes this reordering step by step.&lt;/P&gt;

&lt;P&gt;For example: I have the eigenvalues of matrix after Schur reordering: {198, 59, -47, -147}.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Then, after function&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;?trexc with parameters &lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: italic; line-height: 18.2px;"&gt;ifst = {4, 3, 2, 1}, ilst = {1, 2, 3, 4}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;I have the following reordering of EV:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;{-147, 198, 59, -47}.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;At first I thought, that i-st element of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; font-style: italic; line-height: 18.2px;"&gt;ifst become i-st element of&amp;nbsp;ilst . By this logic it must be follows:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;{198, 59, -47, -147} &amp;nbsp;---&amp;gt; &amp;nbsp;{-147, -47, 59, 198}. But after ?trexc I&amp;nbsp;have:&amp;nbsp;{198, 59, -47, -147} &amp;nbsp;---&amp;gt; &amp;nbsp;{-147, 198, 59, -47}.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;In documentation written: "&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;The element (or block) with row index&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="varname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; line-height: 1.6em; color: rgb(102, 102, 102);"&gt;ifst&lt;/VAR&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;&amp;nbsp;is moved to row&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="varname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; line-height: 1.6em; color: rgb(102, 102, 102);"&gt;ilst&lt;/VAR&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; line-height: 18.2px;"&gt;&amp;nbsp;by a sequence of exchanges between adjacent elements (or blocks)&lt;/SPAN&gt;". &amp;nbsp;But I have tried to do it, and I have wrong results again.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please, help me.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Best regards, &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Fedor Malashin&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 09:32:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083519#M22891</guid>
      <dc:creator>Fedor_M_</dc:creator>
      <dc:date>2016-09-20T09:32:00Z</dc:date>
    </item>
    <item>
      <title>Hi Fedor,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083520#M22892</link>
      <description>&lt;P&gt;Hi Fedor,&lt;/P&gt;

&lt;P&gt;Good day, please see the answer from our developer:&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;First of all, parameters IFST and ILST of ?TREXC are integer scalars (not arrays).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;So in this example ?TREXC is called with IFST = 4 and ILST = 1 since it reads only one element from each of the pointers and the rest 3 elements are ignored.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;Documentation says that IFST is move to ILST by &lt;STRONG&gt;adjacent&lt;/STRONG&gt; exchanges like that:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;Initial state:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev1 = 198&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev2 = 59&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev3 = -47&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="background: lime; color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US; mso-highlight: lime;"&gt;ev4 = -147&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;After exchange &lt;B&gt;ev4&lt;/B&gt; &amp;nbsp;with ev3:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev1 = 198&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev2 = 59&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="background: lime; color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US; mso-highlight: lime;"&gt;ev3 = -147&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev4 = -47&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;After exchange ev3 &amp;nbsp;with ev2:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev1 = 198&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="background: lime; color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US; mso-highlight: lime;"&gt;ev2 = -147&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev3 = 59&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev4 = -47&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;After final exchange ev2 with &lt;B&gt;ev1&lt;/B&gt;:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="background: lime; color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US; mso-highlight: lime;"&gt;ev1 = -147&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev2 = 198&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev3 = 59&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;ev4 = -47&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN lang="EN-US" style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-fareast-language: EN-US;"&gt;that is why&amp;nbsp;the output is like &lt;/SPAN&gt;&amp;nbsp;{-147, 198, 59, -47}.&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;Best Regards,&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 06:27:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083520#M22892</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-09-26T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Hi, Ying.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083521#M22893</link>
      <description>&lt;P&gt;Hi, Ying.&lt;/P&gt;

&lt;P&gt;Thank you for your answer.&lt;/P&gt;

&lt;P&gt;I understood this.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 06:30:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-trexc-function/m-p/1083521#M22893</guid>
      <dc:creator>Fedor_M_</dc:creator>
      <dc:date>2016-09-27T06:30:11Z</dc:date>
    </item>
  </channel>
</rss>

