ENH: Allow `Splinterpolator` instances to be created from an existing set of spline coefficients, and extend extrapolation options
Compare changes
There are no changes yet
No changes between version 13 and version 13
Splinterpolator
class can now accept a pointer to an array of pre-calculated coefficients - in this case, a copy of the pointer is used (the data is not copied), and pre-filtering (coefficient calculation) is skippedSoftZeros
extrapolation method - out of bounds coefficients will be set to zero, but out-of-bounds coordinates will still be constructed via interpolation. This differs from the existing Zeros
extrapolation method, where out-of-bounds coordinates are forced to zero.Constant
extrapolation is requested; previously, a mirroring boundary condition was used.Splinterpolator::Copy
function, which allows the spline coefficients to be copied/extracted.No changes between version 13 and version 13