<?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 Datafitting - Cubic Spline Boundary Conditions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Datafitting-Cubic-Spline-Boundary-Conditions/m-p/1141264#M26314</link>
    <description>&lt;P&gt;I would like to fit a cubic spline with the second derivatives at the end points linearly extrapolated from the two closest interior points. Is there a way to specify this type of boundary condition?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2019 12:02:42 GMT</pubDate>
    <dc:creator>Page__Chris</dc:creator>
    <dc:date>2019-11-16T12:02:42Z</dc:date>
    <item>
      <title>Datafitting - Cubic Spline Boundary Conditions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Datafitting-Cubic-Spline-Boundary-Conditions/m-p/1141264#M26314</link>
      <description>&lt;P&gt;I would like to fit a cubic spline with the second derivatives at the end points linearly extrapolated from the two closest interior points. Is there a way to specify this type of boundary condition?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 12:02:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Datafitting-Cubic-Spline-Boundary-Conditions/m-p/1141264#M26314</guid>
      <dc:creator>Page__Chris</dc:creator>
      <dc:date>2019-11-16T12:02:42Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Datafitting-Cubic-Spline-Boundary-Conditions/m-p/1141265#M26315</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Chris,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Intel MKL Data Fitting supports next types of boundary conditions for cubic splines:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;not-a-knot&lt;/LI&gt;&lt;LI&gt;free end&lt;/LI&gt;&lt;LI&gt;periodic&lt;/LI&gt;&lt;LI&gt;user-definedе the&amp;nbsp;first/second derivative at the left/right endpoint&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;You can set the specifically defined second derivatives at the endpoints as presented below:&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;…&lt;BR /&gt;MKL_INT bc_type;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // boundary conditions type&lt;BR /&gt;double bc[2];&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // array of boundary conditions&lt;BR /&gt;…&lt;BR /&gt;bc_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = DF_BC_2ND_LEFT_DER | DF_BC_2ND_RIGHT_DER;&lt;BR /&gt;bc[0] = a;&lt;BR /&gt;bc[1] = b;&lt;BR /&gt;…&lt;BR /&gt;// Call dfdEditPPSpline1D( task, sorder, stype, bc_type, bc, ic_type, ic, scoeff, scoeffhint );&lt;BR /&gt;// Call dfdConstruct1D( task, DF_PP_SPLINE, DF_METHOD_STD );&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Full code can be found in “dfdcubicsplineint2der.c” sample.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Feel free to ask more.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:19:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Datafitting-Cubic-Spline-Boundary-Conditions/m-p/1141265#M26315</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-11-20T08:19:22Z</dc:date>
    </item>
  </channel>
</rss>

