File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # v0.9.0
2+
3+ Breaking changes:
4+
5+ - ` gradient ` and ` hessian ` are no longer exported; use ` Interpolations.gradient ` and
6+ ` Interpolations.hessian ` .
7+ - ` interpolate ` objects now check bounds, and throw an error if you try to evaluate them
8+ at locations beyond the edge of their interpolation domain; use ` extrapolate ` if you need out-of-bounds evaluation
9+ - For quadratic and cubic interpolation, ` interpolate! ` now returns an object whose axes
10+ are narrowed by the amount of padding needed on the array edges. This preserves correspondence
11+ between input indices and output indices. See https://julialang.org/blog/2017/04/offset-arrays
12+ for more information.
13+ - The parametrization of some types has changed; this does not affect users of the "exported"
14+ interface, but does break packages that performed manual construction of explicit types.
15+
16+ Changes with deprecation warnings:
17+
18+ - ` itp[i...] ` should be replaced with ` itp(i...) ` .
19+ - ` OnGrid ` and ` OnCell ` should now be placed inside the boundary condition (e.g., ` Flat(OnGrid()) ` ),
20+ and should only be used for quadratic and cubic interpolation.
21+ - the extrapolation boundary condition ` Linear ` was changed to ` Line ` , to be consistent
22+ with interpolation boundary conditions.
23+
24+ Advance notice of future changes:
25+
26+ - In future versions ` itp[i...] ` may be interpreted with reference to the parent array's
27+ indices rather than the knots supplied by the user (relevant for ` scale ` and ` Gridded ` ).
28+ If you fix the existing deprecation warnings then you should be prepared for this change.
Original file line number Diff line number Diff line change 44[ ![ PkgEval Status] ( http://pkg.julialang.org/badges/Interpolations_0.4.svg )] ( http://pkg.julialang.org/?pkg=Interpolations )
55[ ![ Interpolations] ( http://pkg.julialang.org/badges/Interpolations_0.5.svg )] ( http://pkg.julialang.org/?pkg=Interpolations )
66
7+ ** NEWS** v0.9 was a breaking release. See the [ news] ( NEWS.md ) for details on how to update.
8+
79This package implements a variety of interpolation schemes for the
810Julia language. It has the goals of ease-of-use, broad algorithmic
911support, and exceptional performance.
You can’t perform that action at this time.
0 commit comments