- update
ndarrayto version 0.17
- update
ndarrayto version 0.16 - update
thiserrorto version 2.0 - update
BuilderError- combine variants
DimensionErrorandAxisLenghtintoShapeError - add
ValueErrorvariant
- combine variants
- update
CubicSplinestragegie- Move
CubicSplineinterpolator tointerp1d::cubic_splinemodule - 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
- 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_arraymethods when query dimension isIx1~-20% improvement - add
interp_into()andinterp_array_into()methods for interpolating into a user providedArrayViewMutthis can improve performance by avoiding memory allocations. - fix crash when
IxDyndimensions 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
VectorExtensionstrait public - add
Interp1D::new_uncheckedandInterp2D::new_uncheckedmethods - add bilinear extrapolation
- impl
Defaultfor interpolation strategies
- add 2d interpolation
- add bilinear interpolation strategy
- rename
StrategytoInterp1DStrategyandStrategyBuildertoInterp1DStrategyBuilder - make extrapolate filed of
Linearprivate 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