<?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 Re: sbtrd call line variables in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871902#M8588</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/419895"&gt;Nigel Wilcox&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I am trying to use F90 call to sbtrd but from the user manual I do not see how I get the output variables d and e.&lt;BR /&gt;&lt;BR /&gt;the call line according to the manual is&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab[, q] [,vect] [,uplo] [,info])&lt;BR /&gt;&lt;BR /&gt;and the variables are listed as:&lt;BR /&gt;&lt;BR /&gt;Fortran 95 Interface Notes&lt;BR /&gt;Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or restorable arguments, see Fortran 95 Interface Conventions.&lt;BR /&gt;&lt;BR /&gt;Specific details for the routine sbtrd interface are the following:&lt;BR /&gt;&lt;BR /&gt;ab Holds the array A of size (kd+1,n).&lt;BR /&gt;q Holds the matrix Q of size (n,n).&lt;BR /&gt;d Holds the vector with the number of elements n.&lt;BR /&gt;e Holds the vector with the number of elements n - 1.&lt;BR /&gt;uplo Must be 'U' or 'L'. The default value is 'U'.&lt;BR /&gt;vect If omitted, this argument is restored based on the presence of argument q as follows: vect = 'V', if q is present, vect = 'N', if q is omitted. &lt;BR /&gt;&lt;BR /&gt;If present, vect must be equal to 'V' or 'U' and the argument q must also be present. Note that there will be an error condition if vect is present and q omitted.&lt;BR /&gt;&lt;BR /&gt;so where are d and e in the call line?&lt;BR /&gt;&lt;BR /&gt;thanks for any help&lt;BR /&gt;&lt;BR /&gt;Nigel&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;I guess as every F95 with optional parameters, say,&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab, e=YOUR_MATRIX_E)&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 27 Mar 2009 10:43:14 GMT</pubDate>
    <dc:creator>ArturGuzik</dc:creator>
    <dc:date>2009-03-27T10:43:14Z</dc:date>
    <item>
      <title>sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871901#M8587</link>
      <description>I am trying to use F90 call to sbtrd but from the user manual I do not see how I get the output variables d and e.&lt;BR /&gt;&lt;BR /&gt;the call line according to the manual is&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab[, q] [,vect] [,uplo] [,info])&lt;BR /&gt;&lt;BR /&gt;and the variables are listed as:&lt;BR /&gt;&lt;BR /&gt;Fortran 95 Interface Notes&lt;BR /&gt;Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or restorable arguments, see Fortran 95 Interface Conventions.&lt;BR /&gt;&lt;BR /&gt;Specific details for the routine sbtrd interface are the following:&lt;BR /&gt;&lt;BR /&gt;ab Holds the array A of size (kd+1,n).&lt;BR /&gt;q Holds the matrix Q of size (n,n).&lt;BR /&gt;d Holds the vector with the number of elements n.&lt;BR /&gt;e Holds the vector with the number of elements n - 1.&lt;BR /&gt;uplo Must be 'U' or 'L'. The default value is 'U'.&lt;BR /&gt;vect If omitted, this argument is restored based on the presence of argument q as follows: vect = 'V', if q is present, vect = 'N', if q is omitted. &lt;BR /&gt;&lt;BR /&gt;If present, vect must be equal to 'V' or 'U' and the argument q must also be present. Note that there will be an error condition if vect is present and q omitted.&lt;BR /&gt;&lt;BR /&gt;so where are d and e in the call line?&lt;BR /&gt;&lt;BR /&gt;thanks for any help&lt;BR /&gt;&lt;BR /&gt;Nigel</description>
      <pubDate>Fri, 27 Mar 2009 10:22:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871901#M8587</guid>
      <dc:creator>wilcox__nigel</dc:creator>
      <dc:date>2009-03-27T10:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871902#M8588</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/419895"&gt;Nigel Wilcox&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I am trying to use F90 call to sbtrd but from the user manual I do not see how I get the output variables d and e.&lt;BR /&gt;&lt;BR /&gt;the call line according to the manual is&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab[, q] [,vect] [,uplo] [,info])&lt;BR /&gt;&lt;BR /&gt;and the variables are listed as:&lt;BR /&gt;&lt;BR /&gt;Fortran 95 Interface Notes&lt;BR /&gt;Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or restorable arguments, see Fortran 95 Interface Conventions.&lt;BR /&gt;&lt;BR /&gt;Specific details for the routine sbtrd interface are the following:&lt;BR /&gt;&lt;BR /&gt;ab Holds the array A of size (kd+1,n).&lt;BR /&gt;q Holds the matrix Q of size (n,n).&lt;BR /&gt;d Holds the vector with the number of elements n.&lt;BR /&gt;e Holds the vector with the number of elements n - 1.&lt;BR /&gt;uplo Must be 'U' or 'L'. The default value is 'U'.&lt;BR /&gt;vect If omitted, this argument is restored based on the presence of argument q as follows: vect = 'V', if q is present, vect = 'N', if q is omitted. &lt;BR /&gt;&lt;BR /&gt;If present, vect must be equal to 'V' or 'U' and the argument q must also be present. Note that there will be an error condition if vect is present and q omitted.&lt;BR /&gt;&lt;BR /&gt;so where are d and e in the call line?&lt;BR /&gt;&lt;BR /&gt;thanks for any help&lt;BR /&gt;&lt;BR /&gt;Nigel&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;I guess as every F95 with optional parameters, say,&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab, e=YOUR_MATRIX_E)&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Mar 2009 10:43:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871902#M8588</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-03-27T10:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871903#M8589</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;I guess as every F95 with optional parameters, say,&lt;BR /&gt;&lt;BR /&gt;call sbtrd(ab, e=YOUR_MATRIX_E)&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I tried that Artur but I get the following build error&lt;BR /&gt;&lt;BR /&gt;C:Projects_NSWE2536_ Error: There is no matching specific subroutine for this generic subroutine call. [SBTRD]&lt;BR /&gt;C:Projects_NSWE2536_ Compilation Aborted (code 1)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;d and e should not be optional because they are the output of the routine&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Nigel</description>
      <pubDate>Fri, 27 Mar 2009 11:19:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871903#M8589</guid>
      <dc:creator>wilcox__nigel</dc:creator>
      <dc:date>2009-03-27T11:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871904#M8590</link>
      <description>Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;d and e are simply duplicate (sub)diagonal elements of ab, so d &amp;amp; e areomitted in the F95 interface.&lt;BR /&gt;See also s/dSYTRD, c/zHETRD, s/dSPTRD, c/zHPTRD, s/dSBTRD, c/zHBTRD.&lt;BR /&gt;&lt;BR /&gt;The documentation inaccuracies will be fixed.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vladimir</description>
      <pubDate>Fri, 27 Mar 2009 12:19:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871904#M8590</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2009-03-27T12:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871905#M8591</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/93629"&gt;Vladimir Koldakov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi Nigel,&lt;BR /&gt;&lt;BR /&gt;d and e are simply duplicate (sub)diagonal elements of ab, so d &amp;amp; e areomitted in the F95 interface.&lt;BR /&gt;See also s/dSYTRD, c/zHETRD, s/dSPTRD, c/zHPTRD, s/dSBTRD, c/zHBTRD.&lt;BR /&gt;&lt;BR /&gt;The documentation inaccuracies will be fixed.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vladimir&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Sorry Vladimir I'm not sure I understand. &lt;BR /&gt;&lt;BR /&gt;d and e are the diagonal and off diagonal terms of the matrix T which is the tri diagonal reduced form of ab. So are you saying that they are reurned in ab, in which case how are they packed? ab is (ku+1,N) in form and d is (N) long and e (N-1) long?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Nigel</description>
      <pubDate>Fri, 27 Mar 2009 13:49:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871905#M8591</guid>
      <dc:creator>wilcox__nigel</dc:creator>
      <dc:date>2009-03-27T13:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871906#M8592</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/419895"&gt;Nigel Wilcox&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Sorry Vladimir I'm not sure I understand. &lt;BR /&gt;&lt;BR /&gt;d and e are the diagonal and off diagonal terms of the matrix T which is the tri diagonal reduced form of ab. So are you saying that they are reurned in ab, in which case how are they packed? ab is (ku+1,N) in form and d is (N) long and e (N-1) long?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Nigel&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Nigel,&lt;BR /&gt;&lt;BR /&gt;you may take a look at interface itself. The output arguments are &lt;BR /&gt;OPTIONAL :: INFO&lt;BR /&gt;INTENT(INOUT) :: AB(:,:)&lt;BR /&gt;INTENT(INOUT), OPTIONAL, TARGET :: Q(:,:)&lt;BR /&gt;&lt;BR /&gt;The E, D are deallocated once F77 version completes its job, and as Vladimir said, they are not returned (and not available, so that's why the error about interface you received). I have to admit that I have no idea how T elements are returned. The easy solution would be just call pure (F77-style) LAPACK version:-)&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Mar 2009 05:10:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871906#M8592</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-03-28T05:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: sbtrd call line variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871907#M8593</link>
      <description>&lt;DIV style="margin: 0px;"&gt;Hi, Nigel,&lt;BR /&gt;&lt;BR /&gt;As you can see at the NETLIB site: &lt;A href="http://www.netlib.org/lapack/double/dsbtrd.f"&gt;http://www.netlib.org/lapack/double/dsbtrd.f&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;* On exit, the diagonal elements of AB are overwritten by the&lt;BR /&gt;* diagonal elements of the tridiagonal matrix T; if KD &amp;gt; 0, the&lt;BR /&gt;* elements on the first superdiagonal (if UPLO = 'U') or the&lt;BR /&gt;* first subdiagonal (if UPLO = 'L') are overwritten by the&lt;BR /&gt;* off-diagonal elements of T; the rest of AB is overwritten by&lt;BR /&gt;* values generated during the reduction.&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;You can find on this pagethe code to copy (sub)diagonal elements for UPPER and LOWER cases.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt; Vladimir&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Mar 2009 04:23:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sbtrd-call-line-variables/m-p/871907#M8593</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2009-03-30T04:23:18Z</dc:date>
    </item>
  </channel>
</rss>

