Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7131 Discussions

Cubic spline fitting options need improvement

Andrew_Smith
Valued Contributor I
670 Views

We use shape preserving spline curves a lot but find the Akima offering in MKL has some shortcomings.

a) The ends of the spline are very flat. There are some modified Akima schemes which improve this aspect. One is offered in Boost for free and another in Alglib and other commercial packages.

b) The Akima spline does not have continuous second derivative. The one we use where we need this inserts additional breakpoints to preserve the shape (monotonicity).

4 Replies
Gennady_F_Intel
Moderator
601 Views

Thanks Andrew. We will add this topic to the future schedule.

0 Kudos
Andrey_F_Intel
Employee
281 Views

Hi Andrew. Sorry for the delay.

Regarding a). Could you please add more information about the use case?

It would be ideal if you shared the dataset (x, y, sites) when you see flat ends of the Akima spline (if possible).

The thing is that we don't see any issues with our datasets.

0 Kudos
Andrey_F_Intel
Employee
192 Views

@Andrew_Smith, please, let us know if the issue is still relevant

0 Kudos
Andrew_Smith
Valued Contributor I
172 Views

I am happy to close this. I find the the MKL Akima spline with Not-A-Knot end option suites my needs. It models a radius as well as the Alglib Akima spline.

0 Kudos
Reply