On Tuesday, February 25, 2014 5:16:13 PM UTC+1, Tim Holy wrote: > > First, are you looking for anonymous functions? > http://docs.julialang.org/en/latest/manual/functions/#anonymous-functions > > Second, I suspect Grid.jl already does exactly what you're asking re > interpolation. > https://github.com/timholy/Grid.jl >
Thanks Tim, but I think that's not the case. I'd like to create a function that returns an interpolating function (independent of the objects which were used to create it). I don't think it's directly possible in Grid (except for a []-like hack that Stefan mentioned). It only partially suits my needs, unfortunately. Among similar functions in R that obey this property I find approxfun, splinefun, and ecdf (each one aiming at some kind of point interpolation)
