bundles / scipy 1.17.1 / scipy / interpolate / _bsplines / _not_a_knot
function
scipy.interpolate._bsplines:_not_a_knot
Signature
def _not_a_knot ( x , k ) Summary
Given data x, construct the knot vector w/ not-a-knot BC. cf de Boor, XIII(12).
Extended Summary
For even k, it's a bit ad hoc: Greville sites + omit 2nd and 2nd-to-last data points, a la not-a-knot. This seems to match what Dierckx does, too: https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L63-L80
Aliases
-
scipy.interpolate._bsplines._not_a_knot