SmoothInterpolation.jl

Interpolations making use of cached data
Author SouthEndMusic
Popularity
4 Stars
Updated Last
4 Months Ago
Started In
May 2024

Deprecated!

Most of the features of this package were merged into DataInterpolations.jl.

codecov Documentation

CachedInterpolations.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 a CSmoothedLinearInterpolation 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.

Installation

Simply run the code below from the package manager.

pkg> add CachedInterpolations

Supported features

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.

Logo

The logo is inspired by the julia logo graphics.

Used By Packages

No packages found.