<?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 MKL is a library of routines, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Keep-some-values-of-vector/m-p/1155385#M27497</link>
    <description>&lt;P&gt;MKL is a library of routines, and those routines can be called from compiled languages such as C and Fortran. Matlab, Python, etc., are interpreted languages with facilities to call MKL routines. Your question has very little to do with MKL, but relates to the ability of a language to support arrays and vector indices into arrays.&lt;/P&gt;&lt;P&gt;In Fortran, for example, the following program can be written.&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;program tvec
real :: x(10) = [10,20,30,40,50,60,70,80,90,100]
integer :: ix(3) = [1,5,10]
!
print *,x(ix)
!
end program
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2019 01:29:23 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2019-02-20T01:29:23Z</dc:date>
    <item>
      <title>Keep some values of vector.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Keep-some-values-of-vector/m-p/1155384#M27496</link>
      <description>&lt;P&gt;Hello, I want to keep some elements of a vector without using a for-loop. For example,&lt;/P&gt;&lt;P&gt;x = [ 10 20 30 40 .... 100] and&amp;nbsp;index = [1 5 10];&lt;/P&gt;&lt;P&gt;In MATLAB you use x(1,index).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please tell me if there is a command with mkl?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 19:10:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Keep-some-values-of-vector/m-p/1155384#M27496</guid>
      <dc:creator>A___Fiori</dc:creator>
      <dc:date>2019-02-19T19:10:35Z</dc:date>
    </item>
    <item>
      <title>MKL is a library of routines,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Keep-some-values-of-vector/m-p/1155385#M27497</link>
      <description>&lt;P&gt;MKL is a library of routines, and those routines can be called from compiled languages such as C and Fortran. Matlab, Python, etc., are interpreted languages with facilities to call MKL routines. Your question has very little to do with MKL, but relates to the ability of a language to support arrays and vector indices into arrays.&lt;/P&gt;&lt;P&gt;In Fortran, for example, the following program can be written.&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;program tvec
real :: x(10) = [10,20,30,40,50,60,70,80,90,100]
integer :: ix(3) = [1,5,10]
!
print *,x(ix)
!
end program
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 01:29:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Keep-some-values-of-vector/m-p/1155385#M27497</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2019-02-20T01:29:23Z</dc:date>
    </item>
  </channel>
</rss>

