<?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 declaring as pure? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811550#M3968</link>
    <description>I'm using some VML routines (for calculating things including the normal cdf, inverse normal cdf). I'd like to call these from functions/subroutines declared as pure. If I change the respective interface block to include the pure keyword, my code compiles and executes as expected. Is this safe? Thanks.</description>
    <pubDate>Sun, 16 Oct 2011 22:13:50 GMT</pubDate>
    <dc:creator>tracyx</dc:creator>
    <dc:date>2011-10-16T22:13:50Z</dc:date>
    <item>
      <title>declaring as pure?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811550#M3968</link>
      <description>I'm using some VML routines (for calculating things including the normal cdf, inverse normal cdf). I'd like to call these from functions/subroutines declared as pure. If I change the respective interface block to include the pure keyword, my code compiles and executes as expected. Is this safe? Thanks.</description>
      <pubDate>Sun, 16 Oct 2011 22:13:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811550#M3968</guid>
      <dc:creator>tracyx</dc:creator>
      <dc:date>2011-10-16T22:13:50Z</dc:date>
    </item>
    <item>
      <title>declaring as pure?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811551#M3969</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;How do you change the function declaration by adding pure? For example, for the following function, virngpoisson( method, stream, n, r, lambda )&lt;/P&gt;&lt;P&gt;Only the output vector, and stream may be changed after the function call. It has no other side effect. If they are taken as the output value, it is fine to define the subroutine as pure.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 07:17:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811551#M3969</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-10-19T07:17:02Z</dc:date>
    </item>
    <item>
      <title>declaring as pure?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811552#M3970</link>
      <description>I haven't used the routine you mentioned, but for one I have (to compute normal cdf), I just add the following interface in my (pure) subroutine which calls this.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]interface
  pure subroutine vdcdfnorm(n,a,r)
    integer,intent(in)         :: n
    real(kind=8),intent(in)    :: a(n)
    real(kind=8),intent(out)   :: r(n)
  end subroutine
end interface[/fortran]&lt;/PRE&gt; &lt;BR /&gt;Is this OK?</description>
      <pubDate>Mon, 24 Oct 2011 14:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811552#M3970</guid>
      <dc:creator>tracyx</dc:creator>
      <dc:date>2011-10-24T14:39:00Z</dc:date>
    </item>
    <item>
      <title>declaring as pure?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811553#M3971</link>
      <description>Hello, &lt;BR /&gt;It is fine for this one. r is the only output forthis function. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Oct 2011 02:16:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/declaring-as-pure/m-p/811553#M3971</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-10-31T02:16:18Z</dc:date>
    </item>
  </channel>
</rss>

