From 59d2b358f5b0179f12c2221ee301fc200af59ddb Mon Sep 17 00:00:00 2001 From: Sathvik Bhagavan Date: Thu, 6 Jun 2024 05:55:59 +0000 Subject: [PATCH] docs: add AkimaInterpolation in methods page --- docs/src/methods.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/methods.md b/docs/src/methods.md index 8639701d..7a8f2ddf 100644 --- a/docs/src/methods.md +++ b/docs/src/methods.md @@ -51,6 +51,18 @@ scatter(t, u, label = "input data") plot!(A) ``` +## Akima Interpolation + +This function fits piecewise cubic polynomials which forms a continuously differentiable function. +This differs from Cubic Spline as coefficients are computed using only neighbouring points and hence the +fit looks more natural. + +```@example tutorial +A = AkimaInterpolation(u, t) +scatter(t, u, label = "input data") +plot!(A) +``` + ## Constant Interpolation This function is constant between data points. By default,