@@ -59,7 +59,7 @@ last knot being co-located. (ie. in the example below `etp(2.0) = 1.0` not
5959``` jldoctest periodic-demo; setup = :(using Interpolations)
6060julia> x = [1.0, 1.5, 1.75, 2.0];
6161
62- julia> etp = LinearInterpolation (x, x.^2, extrapolation_bc=Periodic());
62+ julia> etp = linear_interpolation (x, x.^2, extrapolation_bc=Periodic());
6363
6464julia> kiter = knots(etp);
6565
@@ -101,7 +101,7 @@ k[1], k[2], ..., k[end-1], k[end], k[end+1], ... k[2], k[1], k[2], ...
101101``` jldoctest reflect-demo; setup = :(using Interpolations)
102102julia> x = [1.0, 1.5, 1.75, 2.0];
103103
104- julia> etp = LinearInterpolation (x, x.^2, extrapolation_bc=Reflect());
104+ julia> etp = linear_interpolation (x, x.^2, extrapolation_bc=Reflect());
105105
106106julia> kiter = knots(etp);
107107
@@ -139,7 +139,7 @@ multi-dimensional extrapolation also supported.
139139``` jldoctest; setup = :(using Interpolations)
140140julia> x = [1.0, 1.5, 1.75, 2.0];
141141
142- julia> etp = LinearInterpolation ((x, x), x.*x');
142+ julia> etp = linear_interpolation ((x, x), x.*x');
143143
144144julia> knots(etp) |> collect
1451454×4 Matrix{Tuple{Float64, Float64}}:
@@ -156,7 +156,7 @@ iteration over knots can end up "stuck" iterating along a single axis:
156156``` jldoctest; setup = :(using Interpolations)
157157julia> x = [1.0, 1.5, 1.75, 2.0];
158158
159- julia> etp = LinearInterpolation ((x, x), x.*x', extrapolation_bc=(Periodic(), Throw()));
159+ julia> etp = linear_interpolation ((x, x), x.*x', extrapolation_bc=(Periodic(), Throw()));
160160
161161julia> knots(etp) |> k -> Iterators.take(k, 6) |> collect
1621626-element Vector{Tuple{Float64, Float64}}:
@@ -174,7 +174,7 @@ Rearranging the axes so non-repeating knots are first can address this issue:
174174``` jldoctest; setup = :(using Interpolations)
175175julia> x = [1.0, 1.5, 1.75, 2.0];
176176
177- julia> etp = LinearInterpolation ((x, x), x.*x', extrapolation_bc=(Throw(), Periodic()));
177+ julia> etp = linear_interpolation ((x, x), x.*x', extrapolation_bc=(Throw(), Periodic()));
178178
179179julia> knots(etp) |> k -> Iterators.take(k, 6) |> collect
1801806-element Vector{Tuple{Float64, Float64}}:
@@ -199,7 +199,7 @@ result, the iterator will generate an infinite sequence of knots starting at `1.
199199``` jldoctest iterate-directional-unbounded; setup = :(using Interpolations)
200200julia> x = [1.0, 1.2, 1.3, 2.0];
201201
202- julia> etp = LinearInterpolation (x, x.^2, extrapolation_bc=((Throw(), Periodic()),));
202+ julia> etp = linear_interpolation (x, x.^2, extrapolation_bc=((Throw(), Periodic()),));
203203
204204julia> kiter = knots(etp);
205205
@@ -227,7 +227,7 @@ Swapping the boundary conditions, results in a finite sequence of knots from
227227``` jldoctest iterate-directional-bounded; setup = :(using Interpolations)
228228julia> x = [1.0, 1.2, 1.3, 2.0];
229229
230- julia> etp = LinearInterpolation (x, x.^2, extrapolation_bc=((Periodic(), Throw()),));
230+ julia> etp = linear_interpolation (x, x.^2, extrapolation_bc=((Periodic(), Throw()),));
231231
232232julia> kiter = knots(etp);
233233
@@ -272,7 +272,7 @@ We can iterate over all knots greater than `start` by omitting `stop`
272272``` jldoctest knotsbetween-usage; setup = :(using Interpolations)
273273julia> x = [1.0, 1.5, 1.75, 2.0];
274274
275- julia> etp = LinearInterpolation (x, x.^2, extrapolation_bc=Periodic());
275+ julia> etp = linear_interpolation (x, x.^2, extrapolation_bc=Periodic());
276276
277277julia> krange = knotsbetween(etp; start=4.0);
278278
@@ -322,7 +322,7 @@ dimensions.
322322``` jldoctest; setup = :(using Interpolations)
323323julia> x = [1.0, 1.5, 1.75, 2.0];
324324
325- julia> etp = LinearInterpolation ((x, x), x.*x');
325+ julia> etp = linear_interpolation ((x, x), x.*x');
326326
327327julia> knotsbetween(etp; start=(1.2, 1.5), stop=(1.8, 3.0)) |> collect
3283282×2 Matrix{Tuple{Float64, Float64}}:
0 commit comments