ENH: Allow `Splinterpolator` instances to be created from an existing set of spline coefficients, and extend extrapolation options
- The
Splinterpolatorclass 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 skipped - New
SoftZerosextrapolation 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 existingZerosextrapolation method, where out-of-bounds coordinates are forced to zero. - Adjustment to the coefficient initialisation method used when
Constantextrapolation is requested; previously, a mirroring boundary condition was used. - New
Splinterpolator::Copyfunction, which allows the spline coefficients to be copied/extracted.
Edited by Paul McCarthy