<?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 Bin, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130536#M25562</link>
    <description>&lt;P&gt;Hi Bin,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;The saved "coeff" can be passed using&amp;nbsp;the &lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-df-editppspline1d"&gt;df?EditPPSpline1D function&lt;/A&gt; as the&amp;nbsp;“scoeff” parameter.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;X and Y data shall be set to the Data Fitting task. This data is used during interpolation.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Hope this helps!&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Khang&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 20:48:52 GMT</pubDate>
    <dc:creator>Khang_N_Intel</dc:creator>
    <dc:date>2019-04-19T20:48:52Z</dc:date>
    <item>
      <title>How to tranfer saved "scoeff" to 'dfdInterpolate1D' to calculate interpolated results?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130534#M25560</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;In curve fitting, suppose I already have "scoeff" from previous data fitting and the data fitting task&amp;nbsp; is already deleted.&lt;/P&gt;&lt;P&gt;How can I pass the saved "scoeff" to "dfdInterpolate1D" later to calculate interpolated results whenever necessary ?&amp;nbsp; Can it be simpler and don't need to supply x and y,&amp;nbsp; and don't need to calculate "scoeff" again?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 18:50:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130534#M25560</guid>
      <dc:creator>H__Bin</dc:creator>
      <dc:date>2019-04-17T18:50:40Z</dc:date>
    </item>
    <item>
      <title>Hi Bin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130535#M25561</link>
      <description>&lt;P&gt;Hi Bin,&lt;/P&gt;&lt;P&gt;Thank you for posting.&lt;/P&gt;&lt;P&gt;We will take a look and will get back to you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 18:39:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130535#M25561</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2019-04-18T18:39:31Z</dc:date>
    </item>
    <item>
      <title>Hi Bin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130536#M25562</link>
      <description>&lt;P&gt;Hi Bin,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;The saved "coeff" can be passed using&amp;nbsp;the &lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-df-editppspline1d"&gt;df?EditPPSpline1D function&lt;/A&gt; as the&amp;nbsp;“scoeff” parameter.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;X and Y data shall be set to the Data Fitting task. This data is used during interpolation.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Hope this helps!&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Khang&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 20:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130536#M25562</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2019-04-19T20:48:52Z</dc:date>
    </item>
    <item>
      <title>Thank you!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130537#M25563</link>
      <description>&lt;P&gt;Thank you! Khang&lt;/P&gt;&lt;P&gt;But I think the df?EditPPSpline1D function will generate a new "coeff" from X and Y data. And my saved "coeff" will be replaced.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that right?&lt;/P&gt;&lt;P&gt;How to make the interpolation task to use my "coeff" instead of the new "coeff" generated from that X and Y data?&lt;/P&gt;&lt;P&gt;Thank you very much!I&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 20:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130537#M25563</guid>
      <dc:creator>H__Bin</dc:creator>
      <dc:date>2019-04-19T20:57:00Z</dc:date>
    </item>
    <item>
      <title>Hi Bin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130538#M25564</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Bin,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;two different scenarios for interpolation routine are supported by Intel®&amp;nbsp;MKL Data Fitting library:&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Scenario 1.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create new Data Fitting task&lt;/LI&gt;&lt;LI&gt;Set all spline’s parameters and pointer to the memory storage as a “scoeff” parameter by df?EditPPSpline1D function&lt;/LI&gt;&lt;LI&gt;Call df?Construct1D function to construct spline. Spline’s coefficients are saved to the “scoeff” memory storage&lt;/LI&gt;&lt;LI&gt;Call df?Interpolate1D function to run spline-based interpolation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Scenario 2.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create new Data Fitting task&lt;/LI&gt;&lt;LI&gt;Set spline’s parameters and pointer to the precomputed spline coefficients as “scoeff” parameter by df?EditPPSpline1D function (without spline reconstruction)&lt;/LI&gt;&lt;LI&gt;Call df?Interpolate1D function to run spline-based interpolation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;For your case the second described interpolation scenario can be used to utilize precomputed&amp;nbsp;splines’ coefficients.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Feel free to ask in case of any questions.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 06:54:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130538#M25564</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-04-22T06:54:34Z</dc:date>
    </item>
    <item>
      <title>Dear Sir,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130539#M25565</link>
      <description>&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;Can I ask more questions?&amp;nbsp; Which spline data-fitting function can generate similar results with the MATLAB function 'spline'?&lt;/P&gt;&lt;P&gt;Because when I modified MKL example 'dfdcubicspline_interp.c' and used the same data with MATLAB function 'spline', I got different spline coefficients “scoeff”. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Which function should I use or what parameters should I use to be comparable to MATLAB function 'spline'?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 23:27:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130539#M25565</guid>
      <dc:creator>H__Bin</dc:creator>
      <dc:date>2019-04-26T23:27:31Z</dc:date>
    </item>
    <item>
      <title>Hi Bin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130540#M25566</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Bin,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Spline’s coefficients are highly depend on the spline’s type and spline’s boundary conditions.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;MATLAB’s documentation appears not to provide information about spline’s type used underneath “spline” function.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;We however assume that natural cubic spline with not-a-knot boundary conditions might be possible option.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;To construct natural cubic splines with not-a-knot boundary conditions, please call the editor of the Data Fitting task and then construct the spline as shown below:&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;df?EditPPSpline1D( task, DF_PP_CUBIC, DF_PP_NATURAL, DF_BC_NOT_A_KNOT, 0, DF_NO_IC, 0, scoeff, scoeffhint);&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;df?Construct1D( task, DF_PP_SPLINE, DF_METHOD_STD );&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Please, let me know, if it addresses your request. Feel free to ask more questions about Data Fitting component of Intel® MKL.&lt;BR /&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 08:20:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130540#M25566</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-04-29T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Dear Pavel,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130541#M25567</link>
      <description>&lt;P&gt;Dear Pavel,&lt;/P&gt;&lt;P&gt;I want to ask a question, can I pack different parameters together as y vector, and get different coeff for several curves on one task?&amp;nbsp; For example, I want to do data fitting for x vs y1, x vs y2, x vs y3, can I pack the data of y1, y2 and y3 together as a vector y, and obtain three curves at the same time ?&amp;nbsp; Do you have examples for these multiple curve fitting?&lt;/P&gt;&lt;P&gt;Thank you very much!&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;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Dyakov, Pavel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know, if it addresses your request. Feel free to ask more questions about Data Fitting component of Intel® MKL.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 18:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130541#M25567</guid>
      <dc:creator>H__Bin</dc:creator>
      <dc:date>2019-05-01T18:53:00Z</dc:date>
    </item>
    <item>
      <title>Hi Bin,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130542#M25568</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Bin,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Data Fitting tasks support simultaneous work with the different curves, e.g. you can construct the splines for y1, y2, y3 sets at the same time.&lt;BR /&gt;Functions' values&amp;nbsp;can be packed "set by set" to the vector y. &amp;nbsp;Please find the example:&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;int i, j;&lt;BR /&gt;double freq;&lt;BR /&gt;for( i = 0; i &amp;lt; ny; i++ )&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq = (i + 1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for( j = 0; j &amp;lt; nx; j++ )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y[i*nx+j]= sin(x&lt;J&gt;*freq);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/J&gt;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Where: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nx – size of partition x&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ny – function dimension&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;This approach is also demonstrated in dfdlinearspline example (with ny = 2).&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hope this helps. Will be glad to help you in case of more Data Fitting questions.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 06:17:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-tranfer-saved-quot-scoeff-quot-to-dfdInterpolate1D-to/m-p/1130542#M25568</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-05-06T06:17:00Z</dc:date>
    </item>
  </channel>
</rss>

