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 回應
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.