2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 06:42:12 +00:00
Nick Thompson fee20ab932 Given a function f, known at evenly spaced samples y_j = f(a + jh),
this function constructs an interpolant using compactly supported cubic b splines.
The advantage of using splines of compact support over traditional cubic splines
is that compact support makes the splines well-conditioned.

The interpolant is constructed in O(N) time and can be evaluated in constant time.
Its error is O(h^4), and obeys the interpolating condition s(x_j) = f(x_j) for all samples.
In addition, f' can be estimated from s', albeit with lower accuracy.

This routine is cppcheck clean, and is clean under AddressSanitizer and MemorySanitizer.
2017-02-23 18:21:06 -06:00
2016-02-05 13:59:45 +00:00
2014-08-18 15:07:15 +01:00
2007-10-11 11:51:19 +00:00
Description
Mirrored via gitea-mirror
BSL-1.0 223 MiB
Languages
C++ 96.9%
Cuda 2.1%
HTML 0.7%
C 0.2%