- update
BuilderError
- combine variants
DimensionError
andAxisLenght
intoShapeError
- add
ValueError
variant
- combine variants
- update
CubicSpline
stragegie- Move
CubicSpline
interpolator tointerp1d::cubic_spline
module - add extrapolation
- add not-a-knot boundary condition
- add clamped boundary condition
- add periodic boundary condition
- make not-a-knot boundary condition the default
- allow any first or second derivative as boundary condition
- Move
- fix typo
Biliniar
->Bilinear
- change
new_unchecked
methods to be marked asunsafe
- major performance improvement for
interp_scalar()
methods ~-50% - keywords and categorys in crate metadata
- performance improvement for
Interp2D
(Interp2D::index_point()
is now much faster) -50% for most interpolation methods - runtime specialization for
interp_array
methods when query dimension isIx1
~-20% improvement - add
interp_into()
andinterp_array_into()
methods for interpolating into a user providedArrayViewMut
this can improve performance by avoiding memory allocations. - fix crash when
IxDyn
dimensions are involved.
performance improvement for VectorExtensions::get_lower_index
.
From -24% for evenly spaced values up to 72% for randomized and
logarithmic spaced values.
- added type aliases for common interpolators
- make the
VectorExtensions
trait public - add
Interp1D::new_unchecked
andInterp2D::new_unchecked
methods - add bilinear extrapolation
- impl
Default
for interpolation strategies
- add 2d interpolation
- add bilinear interpolation strategy
- rename
Strategy
toInterp1DStrategy
andStrategyBuilder
toInterp1DStrategyBuilder
- make extrapolate filed of
Linear
private addextrapolate(bool)
method instead.
- change interp_array such that it can be called with any kind of array repreresenation (owned, view, ...) technically this breaks public API, but due to type inference this should never manifest as a breaking change.
- updated package structure
- replaced Interp1DStrategy enum with individual structs
- added Strategy and StrategyBuilder trait
- added CubicSpline strategy
- added traits for custom strategies
- updated package metadata
- Initial release with support for 1d linear interpolation