Most of the features of this package were merged into DataInterpolations.jl.
CachedInterpolations.jl
exports interpolation types in the style of DataInterpolations.jl:
CLinearInterpolation
, regular old linear interpolation;CSmoothedLinearInterpolation
, a type of linear interpolation with well-behaved smoothed corners;CSmoothedLinearInterpolationIntInv
, the inverse of the antiderivative of aCSmoothedLinearInterpolation
if it exists;CLinearInterpolationInvInv
, the inverse of the antiderivative of a(C)LinearInterpolation
if it exists.
These interpolations make as much use as possible of cached data computed at initialization, for a speed against memory usage tradeoff.
Simply run the code below from the package manager.
pkg> add CachedInterpolations
Not all features for interpolation objects from DataInterpolations.jl
are currently supported.
Evaluation | Derivative | Integration | |
---|---|---|---|
CLinearInterpolation |
Supported | Not supported | Supported |
CSmoothedLinearInterpolation |
Supported | supported | Supported |
CSmoothedLinearInterpolationIntInv |
Supported | supported | Not supported |
CLinearInterpolationIntInv |
Supported | supported | Not supported |
If you wish to use one of the currently unsupported features, please write an issue. Note that differentiation can also be achieved with many of the automatic differentiation packages in the Julia ecosystem.
The logo is inspired by the julia logo graphics.