hessianare no longer exported; use
interpolateobjects now check bounds, and throw an error if you try to evaluate them at locations beyond the edge of their interpolation domain; use
extrapolateif you need out-of-bounds evaluation
- For quadratic and cubic interpolation,
interpolate!now returns an object whose axes are narrowed by the amount of padding needed on the array edges. This preserves correspondence between input indices and output indices. See https://julialang.org/blog/2017/04/offset-arrays for more information.
- The parametrization of some types has changed; this does not affect users of the "exported" interface, but does break packages that performed manual construction of explicit types.
Changes with deprecation warnings:
itp[i...]should be replaced with
OnCellshould now be placed inside the boundary condition (e.g.,
Flat(OnGrid())), and should only be used for quadratic and cubic interpolation.
- the extrapolation boundary condition
Linearwas changed to
Line, to be consistent with interpolation boundary conditions.
Advance notice of future changes:
- In future versions
itp[i...]may be interpreted with reference to the parent array's indices rather than the knots supplied by the user (relevant for
Gridded). If you fix the existing deprecation warnings then you should be prepared for this change.