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)
Copy file name to clipboardExpand all lines: docs/src/interface.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ out_matrix
92
92
93
93
## Derivatives
94
94
95
-
Derivatives of the interpolated curves can also be computed at any point for all the methods. Derivatives upto second order is supported where first order derivative is computed analytically and second order using `ForwardDiff.jl`. Order is passed as the third argument. It is 1 by default.
95
+
Derivatives of the interpolated curves can also be computed at any point for all the methods. Derivatives up to second order are supported where first order derivative is computed analytically and second order using `ForwardDiff.jl`. Order is passed as the third argument. It is 1 by default.
96
96
97
97
We will continue with the above example, but the API is the same for all the methods. If the interpolation is defined with `extrapolate=true`, derivatives can also be extrapolated.
If the times provided in the integral go beyond the range of the time points provided during interpolation, it uses extrapolation methods to compute the values, and hence the integral can be misrepsentative and might not reflect the true nature of the data.
138
+
139
+
If the times provided in the integral go beyond the range of the time points provided during interpolation, it uses extrapolation methods to compute the values, and hence the integral can be misrepresentative and might not reflect the true nature of the data.
0 commit comments