ENH: Allow `Splinterpolator` instances to be created from an existing set of spline coefficients, and extend extrapolation options
Compare changes
- Paul McCarthy authored
to zero, but still interpolates out-of-bounds, to allow a smooth transition from in-to-out of bounds
+ 65
− 39
@@ -22,7 +22,14 @@
@@ -657,27 +664,35 @@ double Splinterpolator<T>::value_at(const double *coord) const
@@ -696,9 +711,9 @@ double Splinterpolator<T>::value_at(const double *coord) const
@@ -708,38 +723,47 @@ const
@@ -1200,7 +1224,7 @@ inline unsigned int Splinterpolator<T>::indx2indx(int indx, unsigned int d) cons
@@ -1323,36 +1347,38 @@ T Splinterpolator<T>::coef(int *indx) const
@@ -1648,7 +1674,7 @@ double Splinterpolator<T>::SplineColumn::init_fwd_sweep(double z, ExtrapolationT
@@ -1683,7 +1709,7 @@ double Splinterpolator<T>::SplineColumn::init_bwd_sweep(double z, double lv, Ext