ExtrapolationType ​
Specifies the extrapolation method used for the 1D innterpolation when trying to access values outside of the given data.
Variants:
None: This extrapolation type will throw an error when the input t is beyond the data in the specified direction.Constant: This extrapolation type extends the interpolation with the boundary values of the data.Linear: This extrapolation type extends the interpolation with a linear continuation of the interpolation, making itsmooth at the data boundaries. Extension: This extrapolation type extends the interpolation with a continuation of the expression for the interpolation at the boundary intervals for maximum smoothness.Periodic: This extrapolation type extends the interpolation such thatA(t + T) == A(t) for all t, where the period is given byT = last(A.t) - first(A.t).Reflective: This extrapolation type extends the interpolation such thatA(t_ + t) == A(t_ - t)for allt_, tsuch that(t_ - first(A.t)) % T == 0and0 < t < T, whereT = last(A.t) - first(A.t).
Cases ​
NoneConstantLinearExtensionPeriodicReflective
Source ​
"""
Specifies the extrapolation method used for the 1D innterpolation when trying to access values outside of the given data.
Variants:
- `None`: This extrapolation type will throw an error when the input t is beyond the data in the specified direction.
- `Constant`: This extrapolation type extends the interpolation with the boundary values of the data.
- `Linear`: This extrapolation type extends the interpolation with a linear continuation of the interpolation, making it $C^1$ smooth at the data boundaries.
- `Extension`: This extrapolation type extends the interpolation with a continuation of the expression for the interpolation at the boundary intervals for maximum smoothness.
- `Periodic`: This extrapolation type extends the interpolation such that `A(t + T) == A(t) for all t`, where the period is given by `T = last(A.t) - first(A.t)`.
- `Reflective`: 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)`.
"""
enum ExtrapolationType =
| None
| Constant
| Linear
| Extension
| Periodic
| ReflectiveRelated ​
Examples
Experiments
Analyses
Tests