JuliaMath / JuliaMath/Interpolations.jl
Is array accepted as the parameters?
Open
- Dominant language
- Julia
- Stars
- 575
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
This example from the documentation doesn't work with Julia 1.5:
```
xs = [x^2 for x = 1:0.2:5]
A = [f(x) for x in xs]
# linear interpolation
interp_linear = LinearInterpolation(xs, A)
interp_linear(1) # exactly log(1)
interp_linear(1.05) # approximately log(1.05)
```
Is it supposed to work? I want to interpolate data which is given by values in an array.
However all constructors appear to only take as the first argument an abstract range.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.