0
$\begingroup$

Have been searching a lot for a good spline interpolation library in cpp, came across one, which is the famous Eigen library , having the unsupported counterpart for spline fitting.<Here>. I need spline fitting API that also accepts derivatives.

Eigen's InterpolateWithDerivatives API claim to offer that but it is not without bugs. What alternatives do I have?

$\endgroup$
1
1
$\begingroup$

So you have a series of points and, at each point, a supplied derivative?

Is a piecewise cubic sufficient or does it need higher derivative continuity? If the former is ok, then Cubic Hermite Splines will do the job. (If you need, they can be trivially mapped into cubic Beziers)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.