You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ interp(u′, t′)
43
43
44
44
## Available Interpolations
45
45
46
-
In all cases, `u` an `AbstractVector` of values and `t` is an `AbstractVector` of timepoints
46
+
In all cases, `u`is an `AbstractVector` of values and `t` is an `AbstractVector` of timepoints
47
47
corresponding to `(u,t)` pairs.
48
48
49
49
-`ConstantInterpolation(u,t)` - A piecewise constant interpolation.
@@ -67,7 +67,7 @@ corresponding to `(u,t)` pairs.
67
67
68
68
## Extension Methods
69
69
70
-
The follow methods require extra dependencies and will be loaded as package extensions.
70
+
The following methods require extra dependencies and will be loaded as package extensions.
71
71
72
72
-`Curvefit(u,t,m,p,alg)` - An interpolation which is done by fitting a user-given functional form `m(t,p)` where `p` is the vector of parameters. The user's input `p` is a an initial value for a least-square fitting, `alg` is the algorithm choice to use for optimize the cost function (sum of squared deviations) via `Optim.jl` and optimal `p`s are used in the interpolation. Requires `using Optim`.
73
73
-`RegularizationSmooth(u,t,d;λ,alg)` - A regularization algorithm (ridge regression) which is done by minimizing an objective function (l2 loss + derivatives of order `d`) integrated in the time span. It is a global method and creates a smooth curve.
this extrapolation type extends the interpolation such that `A(t_ + t) == A(t_ - t)` for all `t_, t` such that `(t_ - first(A.t)) % T == 0` and `0 < t < T`, where `T = last(A.t) - first(A.t)`.
71
+
This extrapolation type extends the interpolation such that `A(t_ + t) == A(t_ - t)` for all `t_, t` such that `(t_ - first(A.t)) % T == 0` and `0 < t < T`, where `T = last(A.t) - first(A.t)`.
72
72
73
73
```@example tutorial
74
74
A = QuadraticSpline(u, t; extrapolation = ExtrapolationType.Reflective)
0 commit comments