Closed
Description
See JuliaMath/Interpolations.jl#198 (comment) for a starting point. I want to add support (not replace) for calling the Interpolations.jl library with () rather than [].
- First, you will need to identify the different ways that the interpolations can be called with the
[]
notation. - The amount of code for this actual change will be relative simple, but it will take you some time to figure it out. See Calling with function syntax? JuliaMath/Interpolations.jl#198 (comment) for hints. Basically, you just need to forward the
[]
calls to()
for the key types. - Then you need to adjust or add the appropriate tests in https://github.com/JuliaMath/Interpolations.jl/tree/master/test
- Then you need to adjust the appropriate documentation in https://github.com/JuliaMath/Interpolations.jl/tree/master/doc
not just the (small) change you need to add, but also add in the necessary tests and simple documentation changes.
We should have this as a full-fledged PR so that someone can just look at this, approve, etc. You can discuss any details on here that are unclear.