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
The call to `extrapolate` defines what happens if you try to index into the interpolation object with coordinates outside of `[1, size(data,d)]` in any dimension `d`. The implemented boundary conditions are `Throw`, `Flat`, `Linear`, `Periodic` and `Reflect`, with more options planned. `Periodic` and `Reflect` require that there is a method of `Base.mod` that can handle the indices used.
313
+
The call to `extrapolate` defines what happens if you try to index into the interpolation object with coordinates outside of its
314
+
bounds in any dimension. The implemented boundary conditions are `Throw`, `Flat`, `Linear`, `Periodic` and `Reflect`,
315
+
or you can pass a constant to be used as a "fill" value returned for any out-of-bounds evaluation.
316
+
`Periodic` and `Reflect` require that there is a method of `Base.mod` that can handle the indices used.
317
+
318
+
Examples:
319
+
320
+
```
321
+
itp = interpolate(1:7, BSpline(Linear()))
322
+
etpf = extrapolate(itp, Flat()) # gives 1 on the left edge and 7 on the right edge
0 commit comments